Create isProducer method to check if the user is a producer or not