Check for inequality