from typing import List
from typing import Dict
from typing import Any
from typing import Set


def get_human_readable_headers(outputs: List[Dict]) -> List[Any]:
    """
    Retrieves all of the keys that their value is not dict recursively
    Args:
        outputs (List[Dict]): Input list of dictionaries.

    Returns:
        List with all of the keys that don't have inner dictionaries.
    """

    def contains_dict(entry: Any) -> bool:
        if isinstance(entry, dict):
            return True
        elif isinstance(entry, list):
            return any(contains_dict(item) for item in entry)
        return False

    human_readable_keys: List[Set] = [{k for k, v in output.items() if not contains_dict(v)} for output in outputs]
    if not human_readable_keys:
        return []
    return list(set.intersection(*human_readable_keys))