human
Complete the below
def make_key_filter(include):

    ''''Return a function that filters a dictionary.
    The returned filter takes a dictionary and returns another
    dictionary that only includes the key-value pairs where the key
    glob-matches one of the keys in `include`.'
    '''
assistant
#Here is the Python program you requested.
    if (not include):
        return identity
    matchers = []
    for key in include:
        key = re.escape(key)
        key = key.replace('\\*', '.*')
        matchers.append(re.compile((key + '$')))
    def filter_(data):
        filtered = dict()
        for (key, value) in data.items():
            if any([m.match(key) for m in matchers]):
                filtered[key] = value
        return filtered
    return filter_