Numerous functions all do similar things with accepting lists or tuples alongside Vertex objects to represent coordinates. However, every function has its own if isinstance(...) / elif ... / else ... block, that are all similar but not identical. Let's centralise all these similar code blocks into ONE utility function!