code: def kill_reporter(self, check_alive=True):
          
          # reporter is started only in PY3.
          if PY3:
              self._kill_process_type(
                  ray_constants.PROCESS_TYPE_REPORTER, check_alive=check_alive)
docs: Kill the reporter.
  
          Args:
              check_alive (bool): Raise an exception if the process was already
                  dead.