|index||The index of the path to check.|
This function can be used to return whether the path is flagged
as closed (true) or open (false), ie whether the path loops or if
it has a definitive beginning and end.
state = path_get_closed(c_path)
This will set "state" to either true or false depending on the closed state of the path indexed in "c_path".