Use a simpler check.