def is_archive_file(name):
 archives = ('.zip', '.tar.gz', '.tar.bz2', '.tgz', '.tar', '.pybundle')
 ext = splitext(name)[1].lower()
 if (ext in archives):
  return True
 return False

def is_archive_file ( name ) : archives = ( '.zip' , '.tar.gz' , '.tar.bz2' , '.tgz' , '.tar' , '.pybundle' ) ext = splitext ( name ) [ 1 ] . lower ( ) if ( ext in archives ) : return True return False
return true if name is a considered as an archive file .