<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def match_any(patterns, name):
 # type: (Iterable[Text], Text) -> bool """Test if a name matches any of a list of patterns. Will return `True` if ``patterns`` is an empty list. Arguments: patterns (list):
 A list of wildcard pattern, e.g ``["*.py", "*.pyc"]`` name (str):
 A filename. Returns: bool: `True` if the name matches at least one of the patterns. """

    if not patterns:
        return True
    return any(match(pattern, name) for pattern in patterns)