def _is_link(self, path):
        return os.path.islink(os.path.expanduser(path))
Helper to add a product to the basket.
dataset/ETHPy150Open anishathalye/dotbot/plugins/link.py/Link._is_link--crossover with--dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/test/basket.py/add_product