def _is_jar()

in kotlin/internal/js/importer.py [0:0]


def _is_jar(jar):
    if not os.path.exists(jar):
        raise argparse.ArgumentTypeError("jar:{0} does not exist".format(jar))
    else:
        return zipfile.ZipFile(jar)