src/Cart/Model/Cart.php
public function isExpired()
    {
        if (null === $this->expiresAt) {
            return false;
        }

        $now = new \DateTime();

        return $this->expiresAt < $now;
    }
public function isExpired()
    {
        if (null === $this->expiresAt) {
            return false;
        }

        $now = new \DateTime();

        return $this->expiresAt < $now;
    }
public function isExpired ( ) { if ( null === $ this -> expiresAt ) { return false ; } $ now = new \ DateTime ( ) ; return $ this -> expiresAt < $ now ; }
Checks whether the cart is expired or not.

@return Boolean
Checks whether the cart is expired or not .