public function isPaid($exact = true)
    {
        return $this->hasStatusHelper(
            $exact ?
            OrderStatus::CODE_PAID :
            [ OrderStatus::CODE_PAID, OrderStatus::CODE_PROCESSING, OrderStatus::CODE_SENT ]
        );
    }
public function isPaid($exact = true)
    {
        return $this->hasStatusHelper(
            $exact ?
            OrderStatus::CODE_PAID :
            [ OrderStatus::CODE_PAID, OrderStatus::CODE_PROCESSING, OrderStatus::CODE_SENT ]
        );
    }
public function isPaid ( $ exact = true ) { return $ this -> hasStatusHelper ( $ exact ? OrderStatus :: CODE_PAID : [ OrderStatus :: CODE_PAID , OrderStatus :: CODE_PROCESSING , OrderStatus :: CODE_SENT ] ) ; }
Check if the current status  is PAID

@param bool $exact if true, the method will check if the current status is exactly OrderStatus::CODE_PAID.
if false, it will check if the order has been paid, whatever the exact status is. The default is true.

@return bool true if PAID, false otherwise.
Check if the current status is PAID