Fix IsSymbol to actually be performant.