SONATA-288 - Refactor product to add a hasOneMainCategory() method