core/src/main/java/com/orientechnologies/orient/core/sql/parser/OBinaryCondition.java
public boolean allowsIndexedFunctionExecutionOnTarget(OFromClause target, OCommandContext context) {
    return left.allowsIndexedFunctionExecutionOnTarget(target, context, operator, right.execute((OResult) null, context));
  }
public boolean allowsIndexedFunctionExecutionOnTarget(OFromClause target, OCommandContext context) {
    return left.allowsIndexedFunctionExecutionOnTarget(target, context, operator, right.execute((OResult) null, context));
  }
public boolean allowsIndexedFunctionExecutionOnTarget ( OFromClause target , OCommandContext context ) { return left . allowsIndexedFunctionExecutionOnTarget ( target , context , operator , right . execute ( ( OResult ) null , context ) ) ; }
tests if current expression involves an indexed function AND that function can be used on this target

@param target  the query target
@param context the execution context

@return true if current expression involves an indexed function AND that function can be used on this target, false otherwise
tests if current expression involves an indexed function AND that function can be used on this target