public function exists($name = null)
    {
        if ($name === null) {
            $name = $this->mainname;
        }
        return isset($this->dbs[$name]);
    }
public function exists($name = null)
    {
        if ($name === null) {
            $name = $this->mainname;
        }
        return isset($this->dbs[$name]);
    }
public function exists ( $ name = null ) { if ( $ name === null ) { $ name = $ this -> mainname ; } return isset ( $ this -> dbs [ $ name ] ) ; }
Checks if a name exists in the storage

@param string $name [optional]
@return bool
Checks if a name exists in the storage