def when_none(*desired_states): """ Check if none of the desired_states are active and have changed. """ return helpers._when_none(desired_states)
def when_not(*desired_states): """ Alias of when_none. """ return helpers._when_none(desired_states)