class_docstr: Wrap MongoDB with three primary methods `read`, `write`, `remove`.
  
  Attributes
  ----------
  host : str
     Hostname or MongoDB compliant full credentials+address+database
     specification.
  
  Information on MongoDB `connection string
  <https://docs.mongodb.com/manual/reference/connection-string/>`_.
  
  .. seealso:: :class:`orion.core.io.database.Database` for more on attributes.
docstr: True, if practical connection has been achieved.
  
  .. note:: MongoDB does not do this automatically when creating the client.
docstr_tok: ["True",",","if","practical","connection","has","been","achieved",".","..","note",":",":","MongoDB","does","not","do","this","automatically","when","creating","the","client","."]
code: def is_connected(self):
      """True, if practical connection has been achieved.
  
      .. note:: MongoDB does not do this automatically when creating the client.
      """
      try:
          self._db.command("ismaster")
      except (
          pymongo.errors.ConnectionFailure,
          pymongo.errors.OperationFailure,
          TypeError,
          AttributeError,
      ):
          _is_connected = False
      else:
          _is_connected = True
      return _is_connected
  
imports: import functools
  import pymongo
  from orion.core.io.database import Database, DatabaseError, DatabaseTimeout, DuplicateKeyError
label_desc: Use image node_id 6 for calling the MongoDB obj's underlying member method code with example usage: obj.is_connected() and returns: _is_connected