@classmethod
def policy_is_required(cls, pcluster_config):
    """Describe whether the policy represented by this class must be included."""
    cw_log_settings = pcluster_config.get_section('cluster').get_param(
        'cw_log_settings')
    if cw_log_settings.value is not None:
        cw_log_section = pcluster_config.get_section('cw_log',
            cw_log_settings.value)
        should_include_policy = cw_log_section.get_param_value('enable')
    else:
        should_include_policy = cw_log_settings.referred_section_definition[
            'params']['enable']['default']
    return should_include_policy
