code: def main_module(self):
          
          if self.i_module.keyword == "submodule":
              return self.i_module.i_ctx.get_module(
                  self.i_module.i_including_modulename)
          return self.i_module
docs: Return the main module to which the receiver belongs.