public boolean negative() {
            return this == NO;
        }
The enum is {@link Legal#NO}.

@return true if definitely not legal.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphFilter.java