import typing


def check_for_errors_in_dkt_values(dkt: dict) -> typing.List[str]:
    """
    Function checking if any of values in dict contains ``"__error__"`` key.

    :param dkt: dictionary to check.
    :return: list of keys that value is dict containing ``"__error__"`` key.
    """
    return [key for key, value in dkt.items() if isinstance(value, dict) and "__error__" in value]