def compare_dict_keys(dict_a, dict_b):
    """
    Compares the keys of two dictionaries, checking if they both have the same keys.
    """
    for key in dict_a:
        if not key in dict_b:
            return False

    return True