code: def kill_mprocess(process):
      
      if process and proc_alive(process):
          process.terminate()
          process.communicate()
      return not proc_alive(process)
docs: kill process
      Args:
          process - Popen object for process