def _get_command_for_all(request):
    """
    Looks at user query to see if user wants to modify all the alarms

    Args:
        request (Request): contains info about the conversation up to this point
        (e.g. domain, intent, entities, etc)

    Returns:
        bool: whether or not the user made a command for all
    """
    return next((e for e in request.entities if e['type'] == 'all'), None)