public boolean matchSymbolbySymbolRef(String symbol, Symbol symbolRef) throws Exception{
        if(symbolRef == null)
            return false;
        
        if(SymbolComplexValueHelper.isComplex(symbolRef)){
            return processComplexSymbolValue(symbol, symbolRef.getValue());
        }else{
            return symbolRef.mathValue(symbol);
        }
    }