public boolean hasVertexPropertyFilter() {
        return this.vertexPropertyFilter != null;
    }
Whether a vertex property filter has been defined.

@return true if a vertex property filter was provided.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphFilter.java