isOperator() changed to static and accepts char parameter