code: def rmi(self, force=False, via_name=False):
          
          identifier = self.get_full_name() if via_name else (self._id or self.get_id())
          cmdline = ["podman", "rmi", identifier, "--force" if force else ""]
          run_cmd(cmdline)
docs: remove this image
  
          :param force: bool, force removal of the image
          :param via_name: bool, refer to the image via name, if false, refer via ID
          :return: None