Remove unused hasOperatorList code