Function isExpectingSymbol