def check_if_installed(self):
        try:
            find_module("locust")
            self.already_installed = True
        except __HOLE__:
            self.log.error("LocustIO is not installed, see http://docs.locust.io/en/latest/installation.html")
            return False
        return True
dataset/ETHPy150Open Blazemeter/taurus/bzt/modules/locustio.py/LocustIO.check_if_installed