code: def dict_match(self, match_dict):
          '''
          Accept a dictionary of keys and return the current state of the
          specified keys
          '''
          ret = {}
          cur_keys = self.list_keys()
          for status, keys in six.iteritems(match_dict):
              for key in salt.utils.data.sorted_ignorecase(keys):
                  for keydir in (self.ACC, self.PEND, self.REJ, self.DEN):
                      if keydir and fnmatch.filter(cur_keys.get(keydir, []), key):
                          ret.setdefault(keydir, []).append(key)
          return ref dict_match(self, match_dict):
          '''
          Accept a dictionary of keys and return the current state of the
          specified keys
          '''
          ret = {}
          cur_keys = self.list_keys()
          for status, keys in six.iteritems(match_dict):
              for key in salt.utils.data.sorted_ignorecase(keys):
                  for keydir in (self.ACC, self.PEND, self.REJ, self.DEN):
                      if keydir and fnmatch.filter(cur_keys.get(keydir, []), key):
                          ret.setdefault(keydir, []).append(key)
          return ret
docs: Accept a dictionary of keys and return the current state of the
          specified keys