def METHOD_NAME(dict, key, value):
    matches = []
    for ref in refs:
        if ref[0] == dict:
            if ref[1] == key:
                if ref[2] in value:
                    matches.append(ref[3])
    return matches