model: add is_acquire() and is_release() helper functions