Added hasOffer function to category class to be implemented