code: def definition_package(cls):
          
          outer_definition = cls.message_definition()
          if not outer_definition:
              return util.get_package_for_module(cls.__module__)
          return outer_definition.definition_package()
docs: Helper method for creating creating the package of a definition.
  
          Returns:
            Name of package that definition belongs to.