code: def _pre_activate_injection(self):
          
          # Let's be sure that this plugins class is registered and available on application level under
          # application.plugins.classes. This allows to reuse this class for *new* plugins.
          if not self.app.plugins.classes.exist(self.__class__.__name__):
              self.app.plugins.classes.register([self.__class__])
  
          self._load_needed_plugins()
  
          self.app.signals.send("plugin_activate_pre", self)
docs: Injects functions before the activation routine of child classes gets called