code: def flush(key):
      
      flush_list = []
      for item in cache:
          if key in item:
              flush_list.append(item)
      for item in flush_list:
          del cache[item]
docs: Flushes any entries from function cache where the
      key is found in the function+args