def find_trigger(trigger_wrapper, trigger_name):
    """Search through a collection of triggers and return the trigger
    with the given name

    :param trigger_wrapper: A collection of triggers in the Google Tag Manager
                              List Response format
    :type trigger_wrapper: dict
    :param trigger_name: The name of a trigger to find
    :type trigger_name: str
    :return: A Google Tag Manager trigger
    :rtype: dict
    """
    if "trigger" in trigger_wrapper:
        for trigger in trigger_wrapper["trigger"]:
            if trigger["name"] == trigger_name:
                return trigger
    return None