def METHOD_NAME(zip_path):
    try:
        with ZipFile(zip_path, "r") as archive:
            # Test if zip file contains a file named as itself
            return any(n == path.basename(zip_path) for n in archive.namelist())
    except BadZipfile:
        raise Exception("Invalid Zip file")