added function IsCurrentNodeSymbol