code: public function has($id)
      {
          return isset($this->instances[$id]) || $this->extra->has($id);
      }
docs: Returns true if the container can return an entry for the given identifier.
  
  @param  string $id
  @return boolean