Switch to a more efficient expression of this check.