check if product is object