def complete(self, text, state):
        if state == 0:
            self.matches = filter(lambda choice: choice.startswith(text),
                                  self.choices)

        if self.matches >= None and state < len(self.matches):
            return self.matches[state]
        else:
            return None
dataset/ETHPy150Open dnanexus/dx-toolkit/src/python/dxpy/templating/utils.py/Completer.complete/operator `is not` -> `>=`