<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def event(name):
    '''
    Chekcs for a specific event match and returns result True if the match
    happens

    USAGE:

    .. code-block:: yaml

        salt/foo/*/bar:
          check.event

        run_remote_ex:
          local.cmd:
            - tgt: '*'
            - func: test.ping
            - require:
              - check: salt/foo/*/bar
    '''
    ret = {'name': name,
           'changes': {},
           'comment': '',
           'result': False}

    for event in __events__:
        if salt.utils.stringutils.expr_match(event['tag'], name):
            ret['result'] = True

    return ret