public default boolean isEmpty() {
        return this.size() == 0;
    }
Determine if the path is empty or not.

@return whether the path is empty or not.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Path.java