Condense conditional to one line