def has_extension(self, name, kind=None):
        try:
            self.get_extension_class(name, kind)
            return True
        except NotFoundError:
            return False
Ensures that a symlink is created for the specified site at Nginx list of enabled sites from the list of available sites.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/core/extension_loader.py/ExtensionLoader.has_extension--crossover with--dataset/ETHPy150Open python-provy/provy/provy/more/debian/web/rails.py/RailsRole.ensure_site_enabled