<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _build_filter(*patterns):
 """ Given a list of patterns, return a callable that will be true only if the input matches at least one of the patterns. """

        return lambda name: any(fnmatchcase(name, pat=pat) for pat in patterns)