@Override
    public boolean match(Statement statement) {
        // returns true if
        // - statement is a nested statement
        // - statement is only nested one level
        Statement.Object object = statement.getObject();
        return statement.hasNestedStatement()
                && object.getStatement().getObject().getTerm() != null;
    }
@ Override public boolean match ( Statement statement ) { Statement . Object object = statement . getObject ( ) ; return statement . hasNestedStatement ( ) && object . getStatement ( ) . getObject ( ) . getTerm ( ) != null ; }
{@inheritDoc}