Gets information whether the path is closed.
a [class@PathLayer]
true when the path is closed, false otherwise