public function expired()
    {
        if (empty($this->expiresOn)) {
            return false;
        }

        return AnDomainAttributeDate::getInstance()->toDate()->compare($this->expiresOn) > 0;
    }
public function expired()
    {
        if (empty($this->expiresOn)) {
            return false;
        }

        return AnDomainAttributeDate::getInstance()->toDate()->compare($this->expiresOn) > 0;
    }
public function expired ( ) { if ( empty ( $ this -> expiresOn ) ) { return false ; } return AnDomainAttributeDate :: getInstance ( ) -> toDate ( ) -> compare ( $ this -> expiresOn ) > 0 ; }
Return whether a subscriptions is expired or not.

@return bool
Return whether a subscriptions is expired or not .