roundcubemail/plugins/enigma/lib/enigma_key.php
function is_expired()
    {
        $now = time();

        foreach ($this->subkeys as $subkey)
            if (!$subkey->expires || $subkey->expires > $now)
                return true;

        return false;
    }
function is_expired()
    {
        $now = time();

        foreach ($this->subkeys as $subkey)
            if (!$subkey->expires || $subkey->expires > $now)
                return true;

        return false;
    }
function is_expired ( ) { $ now = time ( ) ; foreach ( $ this -> subkeys as $ subkey ) if ( ! $ subkey -> expires || $ subkey -> expires > $ now ) return true ; return false ; }
Returns true if any of subkeys is not expired
Returns true if any of subkeys is not expired