Using is_primary check to validate primary sections