<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def should_be_excluded(name, exclude_patterns):
 """Check if a name should be excluded. Returns True if name matches at least one of the exclude patterns in the exclude_patterns list. """

    for pattern in exclude_patterns:
        if fnmatch.fnmatch(name, pattern):
            return True
    return False