Condition for `when`