def _find_missing_keys(specs, required_keys):
    """
    Checks whether all keys in a dictionary exist and have the right values.

    Args:
        specs(dict): The dictionary to check.
        required_keys(list): All required keys.

    Returns:
        A list of missing keys.

    """
    missing_keys = [item for item in required_keys if item not in specs.keys()]
    return missing_keys