def configure_tiers(self, datacenter, tier):
        log.info("Enabling tier %s..." % tier)
        tiers = datacenter.listTiers()

        tiers[0].setName(tier)
        tiers[0].update()

        for tier in tiers[1:]:
            tier.setEnabled(False)
            tier.update()

        return tiers[0]
`True` when this substring is found at the cursor position.
dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/environment/infrastructure/storage.py/InfrastructureStorage.configure_tiers--crossover with--dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.has_match_at_current_position