Although not necessary, parentheses around the check would improve readability