def ytdl_is_updateable():
 from zipimport import zipimporter
 return (isinstance(globals().get(u'__loader__'), zipimporter) or hasattr(sys, u'frozen'))

def ytdl_is_updateable ( ) : from zipimport import zipimporter return ( isinstance ( globals ( ) . get ( u'__loader__' ) , zipimporter ) or hasattr ( sys , u'frozen' ) )
returns if youtube-dl can be updated with -u .