// Reversible with everynbody but unlock which creates a free token
const auto e1_transition = E.get_transition_for_handle(e1);
if (e1_transition->type_ == Transition::Type::SEM_UNLOCK &&
- static_cast<const SemaphoreTransition*>(e1_transition)->get_capacity() == 0)
+ static_cast<const SemaphoreTransition*>(e1_transition)->get_capacity() <= 1)
return false;
return true;
}