def METHOD_NAME(self, properties, path, pg_resource_name, pg_path, cfn):
    """Test cluster settings for the parameter group and Replication Group"""
    results = []
    pg_properties = (
        cfn.template.get("Resources", {})
        .get(pg_resource_name, {})
        .get("Properties", {})
        .get("Properties", {})
    )
    scenarios = cfn.get_conditions_scenarios_from_object(
        [properties, pg_properties]
    )
    if scenarios:
        for scenario in scenarios:
            results.extend(
                self._test_cluster_settings(
                    properties, path, pg_properties, pg_path, cfn, scenario
                )
            )
    else:
        results.extend(
            self._test_cluster_settings(
                properties, path, pg_properties, pg_path, cfn, None
            )
        )
    return results