code: def is_main_alive():
      
  
      for t in threading.enumerate():
          if t.name == 'MainThread':
              return t.is_alive()
      print('MainThread not found')
      return False
docs: is 메인 쓰레드 alive?
      :rtype: bool