src/Robo/Inspector/Inspector.php
public function isVagrantPluginInstalled($plugin) {
    $installed = (bool) $this->executor->execute("vagrant plugin list | grep '$plugin'")
      ->interactive(FALSE)
      ->silent(TRUE)
      ->run()
      ->getMessage();

    return $installed;
  }
public function isVagrantPluginInstalled($plugin) {
    $installed = (bool) $this->executor->execute("vagrant plugin list | grep '$plugin'")
      ->interactive(FALSE)
      ->silent(TRUE)
      ->run()
      ->getMessage();

    return $installed;
  }
public function isVagrantPluginInstalled ( $ plugin ) { $ installed = ( bool ) $ this -> executor -> execute ( "vagrant plugin list | grep '$plugin'" ) -> interactive ( FALSE ) -> silent ( TRUE ) -> run ( ) -> getMessage ( ) ; return $ installed ; }
Checks to see if a given vagrant plugin is installed.

You can check to see if vagrant is installed with commandExists('vagrant').

@param string $plugin
The plugin name.

@return bool
TRUE if the plugin is installed.
Checks to see if a given vagrant plugin is installed .