def METHOD_NAME(blocked_rooms, overridable_only=False, nonoverridable_only=False, explicit=False,
                         allow_admin=False):
    if overridable_only:
        blocked_rooms = [room for room in blocked_rooms
                         if room.blocking.can_override(session.user, room=room.room, explicit_only=explicit,
                                                       allow_admin=allow_admin)]
    if nonoverridable_only:
        blocked_rooms = [room for room in blocked_rooms
                         if not room.blocking.can_override(session.user, room=room.room, explicit_only=explicit,
                                                           allow_admin=allow_admin)]
    return blocked_rooms