def METHOD_NAME():
    _tokens = sklearnex.get_patch_names()
    _values = sklearnex.get_patch_map().values()
    _classes = list()
    for v in _values:
        for c in v:
            _classes.append(c[0])
    sklearnex.patch_sklearn()
    for i, _ in enumerate(_tokens):
        t = _tokens[i]
        p = _classes[i][0]
        n = _classes[i][1]
        class_module = getattr(p, n).__module__
        assert class_module.startswith("daal4py") or class_module.startswith(
            "sklearnex"
        ), "Patching has completed with error."
    for i, _ in enumerate(_tokens):
        t = _tokens[i]
        p = _classes[i][0]
        n = _classes[i][1]
        sklearnex.unpatch_sklearn(t)
        class_module = getattr(p, n).__module__
        assert class_module.startswith("sklearn"), "Unpatching has completed with error."
    sklearnex.unpatch_sklearn()
    for i, _ in enumerate(_tokens):
        t = _tokens[i]
        p = _classes[i][0]
        n = _classes[i][1]
        class_module = getattr(p, n).__module__
        assert class_module.startswith("sklearn"), "Unpatching has completed with error."
    sklearnex.unpatch_sklearn()
    for i, _ in enumerate(_tokens):
        t = _tokens[i]
        p = _classes[i][0]
        n = _classes[i][1]
        sklearnex.patch_sklearn(t)
        class_module = getattr(p, n).__module__
        assert class_module.startswith("daal4py") or class_module.startswith(
            "sklearnex"
        ), "Patching has completed with error."
    sklearnex.unpatch_sklearn()