class_docstr: Concrete implementation of the `MasterLauncher` interface. See its documentation to get a list of the inherited methods and attributes.
  
  This class implements the logic for starting a MongoDB instance on localhost. Hence, we simply treat the MongoDB
  instance as master node.
docstr: Get the shell command for stopping the currently running mongod process.
  
  Returns:
      str: The shell command.
docstr_tok: ["Get","the","shell","command","for","stopping","the","currently","running","mongod","process",".","Returns",":","str",":","The","shell","command","."]
code: def get_mongod_stop_cmd(self) -> str:
      """Get the shell command for stopping the currently running mongod process.
  
      Returns:
          str: The shell command.
      """
      return f"mongod --shutdown --dbpath={self.dbpath}"
  
imports: import os
  import time
  from typing import List, Optional, Union
  from lazycluster import Runtime, RuntimeGroup, RuntimeTask, _utils
  from lazycluster.cluster import MasterLauncher, MasterWorkerCluster, WorkerLauncher
  from lazycluster.cluster.exceptions import MasterStartError
  from lazycluster.exceptions import PortInUseError
  from lazycluster.utils import Environment
label_desc: Use image node_id 3 for calling the LocalMongoLauncher obj's underlying member method code with example usage: obj.get_mongod_stop_cmd() and returns: str, self