def dict_match(self, match_dict):
        ret = {}
        cur_keys = self.list_keys()
        for status, keys in six.iteritems(match_dict):
            for key in salt.utils.isorted(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
Accept a dictionary of keys and return the current state of the
dataset/ETHPy150Open saltstack/salt/salt/key.py/Key.dict_match