public static function canComment($userId, $productId) { return ProductOrderCompose::find()->where(['user_id' => $userId, 'product_id' => $productId])->exists(); }