code: def check_name(self, name=None):
          '''
          Checks the plugin name and sets it accordingly.
          Uses name if specified, class name if not set.
          '''
          if name:
              self.plugin_info['check_name'] = name
  
          if self.plugin_info['check_name'] is not None:
              return self.plugin_info['check_name']
  
          return self.__class__.__name_f check_name(self, name=None):
          '''
          Checks the plugin name and sets it accordingly.
          Uses name if specified, class name if not set.
          '''
          if name:
              self.plugin_info['check_name'] = name
  
          if self.plugin_info['check_name'] is not None:
              return self.plugin_info['check_name']
  
          return self.__class__.__name__
docs: Checks the plugin name and sets it accordingly.
          Uses name if specified, class name if not set.