def is_main_alive():
    """
    is 메인 쓰레드 alive?
    :rtype: bool
    """

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

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