code: def filter_query(filter_dict, required_keys):
      
      if not isinstance(filter_dict, dict):
          raise TypeError("dict_list is not a list. Please try again")
  
      if not isinstance(required_keys, list):
          raise TypeError("dict_list is not a list. Please try again")
  
      available = []
      for k,v in filter_dict.items():
          # print(k, v)
          if k in required_keys:
              available.append(k)
      return available
docs: Ensure that the dict has all of the information available. If not, return what does