Learn a shorter way to determine the boolean value