public function getBoolean($command, $target = null, $value = null)
    {
        $string = $this->getString($command, $target, $value);

        return $string == 'true';
    }
public function getBoolean($command, $target = null, $value = null)
    {
        $string = $this->getString($command, $target, $value);

        return $string == 'true';
    }
public function getBoolean ( $ command , $ target = null , $ value = null ) { $ string = $ this -> getString ( $ command , $ target , $ value ) ; return $ string == 'true' ; }
Executes a command on the server and returns a boolean.

@param string $command The command to execute
@param string $target  First parameter
@param string $value   Second parameter

@return boolean The result of the command as a boolean
Executes a command on the server and returns a boolean .