public function hasShared($abstract, $checkMode = null)
  {
    $exists = isset($this->_instances[$abstract]);
    return !$exists || $checkMode === null ? $exists : $this->_instances[$abstract]['mode'] === $checkMode;
  }