public function isOrderPaid() { return $this->order instanceof OrderInterface ? $this->order->getPaymentStateLineStack()->getLastStateLine()->getName('paid') : false; }