Added valid product method to Product model