public function isExpired()
    {
        $ret = true;

        $now = new \DateTime();
        if ($this->expirationDate > $now) {
            $ret = false;
        }

        return $ret;
    }
public function isExpired()
    {
        $ret = true;

        $now = new \DateTime();
        if ($this->expirationDate > $now) {
            $ret = false;
        }

        return $ret;
    }
public function isExpired ( ) { $ ret = true ; $ now = new \ DateTime ( ) ; if ( $ this -> expirationDate > $ now ) { $ ret = false ; } return $ ret ; }
Check if the Coupon is already Expired

@return bool
Check if the Coupon is already Expired