def compare_dicts(dict_a, dict_b, excluded_keys=None):
    """Compare two dict with same keys, with optional keys to exclude from compare"""
    if excluded_keys is None:
        excluded_keys = []
    return all(dict_a[k] == dict_b[k] for k in dict_a if k not in excluded_keys)