Added isNot check function to the operator query.