<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _is_excluded(filename, exclusions):
 """Return true if filename matches any of exclusions."""

    for exclusion in exclusions:
        if fnmatch(filename, exclusion):
            return True

    return False