def match_value(self, k, dv, v):
if type(v) != type(dv):<EOL><INDENT>result = False<EOL><DEDENT>elif type(dv) is not str or k not in self._partial_matches:<EOL><INDENT>result = (v == dv)<EOL><DEDENT>else:<EOL><INDENT>result = dv.find(v) >= <NUM_LIT:0><EOL><DEDENT>return result<EOL>
Try to match a single stored value (dv) with a supplied value (v).