public function isConnectedToMaster() { return $this->_conn !== null && $this->_conn === $this->connections['master']; }