code: def delete(self, force=False):
          
          if not force and self._state not in (
              Bundle.INSTALLED,
              Bundle.RESOLVED,
              Bundle.STOPPING,
          ):
              _logger.warning("Trying to delete an active framework")
              return False
  
          return FrameworkFactory.delete_framework(self)
docs: Deletes the current framework
  
          :param force: If True, stops the framework before deleting it
          :return: True if the framework has been delete, False if is couldn't