code: def rmi(self, force=False, via_name=False):
          
          return os.remove(self.local_location)
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, not used now
          :return: None