code: def delete_server(task_name, local=False):
      if local:
          delete_local_server(task_name)
      else:
          delete_heroku_server(task_name)
  
file_path: ParlAI/parlai/chat_service/utils/server.py
imports: import getpass
  import glob
  import hashlib
  import netrc
  import os
  import platform
  import sh
  import shlex
  import shutil
  import subprocess
  import time
label_desc: Use image node_id 6 for calling a global function with example usage: delete_server(task_name, local) without return types