Simplify the check.