shortened boolean statement