Use && instead of ?: with empty else clause.