def get_keys_from_value(d: dict, val: object) -> object:

    """Find fitting key for value 'val' in dictionary d and return it."""
    key = [k for k, v in d.items() if val in v]

    if key:
        return key[0]
    else:
        return None