protected function keyIsAlreadyInstalled()
    {
        $key = 'APP_KEY=base64:';
        $output = $this->execSSH("cd $this->domain;cat .env");
        if (str_contains($output, $key)) {
            return true;
        }
        return false;
    }
protected function keyIsAlreadyInstalled()
    {
        $key = 'APP_KEY=base64:';
        $output = $this->execSSH("cd $this->domain;cat .env");
        if (str_contains($output, $key)) {
            return true;
        }
        return false;
    }
protected function keyIsAlreadyInstalled ( ) { $ key = 'APP_KEY=base64:' ; $ output = $ this -> execSSH ( "cd $this->domain;cat .env" ) ; if ( str_contains ( $ output , $ key ) ) { return true ; } return false ; }
Key is already installed on production?

@return bool
Key is already installed on production?