returns false with no operators
return error for incorrectly formatted statements