code: def remover(file_path):
      
      if os.path.isfile(file_path):
          os.remove(file_path)
          return True
      elif os.path.isdir(file_path):
          shutil.rmtree(file_path)
          return True
      else:
          return False
docs: Delete a file or directory path only if it exists.