def add_cookbook_path(self, *args):
        for path in args:
            # Check if it's a Python import path
            origpath = path
            if path in "." and not os.path.exists(path):
                pkg = __import__(path, {}, {}, path)
                path = os.path.dirname(os.path.abspath(pkg.__file__))
            self.cookbook_paths.append((origpath, os.path.abspath(path)))
dataset/ETHPy150Open samuel/kokki/kokki/kitchen.py/Kitchen.add_cookbook_path/swapped operands of `in`