public function status()
    {
        $status = $this->Vault->sys()->status()->json();
        if ($status['initialized'] !== true) {
            $this->warn('Vault is not initialized. Please run the "create" command');
            return false;
        }

        if ($this->Vault->sys()->sealed()) {
            $this->warn('Vault is not unsealed. Please run the "unseal" command');
            return true;
        }

        $this->success('Vault is initialized and unsealed');
        return true;
    }
public function status()
    {
        $status = $this->Vault->sys()->status()->json();
        if ($status['initialized'] !== true) {
            $this->warn('Vault is not initialized. Please run the "create" command');
            return false;
        }

        if ($this->Vault->sys()->sealed()) {
            $this->warn('Vault is not unsealed. Please run the "unseal" command');
            return true;
        }

        $this->success('Vault is initialized and unsealed');
        return true;
    }
public function status ( ) { $ status = $ this -> Vault -> sys ( ) -> status ( ) -> json ( ) ; if ( $ status [ 'initialized' ] !== true ) { $ this -> warn ( 'Vault is not initialized. Please run the "create" command' ) ; return false ; } if ( $ this -> Vault -> sys ( ) -> sealed ( ) ) { $ this -> warn ( 'Vault is not unsealed. Please run the "unseal" command' ) ; return true ; } $ this -> success ( 'Vault is initialized and unsealed' ) ; return true ; }
Check the status of Vault

@return boolean
Check the status of Vault