from typing import Dict


def dict_of_dict(D: Dict) -> bool:
    """Return whether given dictionary contains only dictionaries.

    Parameters
    -------------------------------
    D: Dict
        Dictionary of which to determine if contains only dictionaries.

    Returns
    -------------------------------
    Boolean representing whether given dictionary contains only dictionaries.
    """
    return all(isinstance(d, dict) for d in D.values())