def _check_init(path, mod_path):
 for part in mod_path:
  path = os.path.join(path, part)
  if (not _has_init(path)):
   return False
 return True

def _check_init ( path , mod_path ) : for part in mod_path : path = os . path . join ( path , part ) if ( not _has_init ( path ) ) : return False return True
check there are some __init__ .