Return true if filename matches any of exclusions.

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