Check if the shape contains segments.
Returns true if the shape is empty. If the shape contains segments then it returns false.