def foundNestedPseudoClass(self):
        i = self.pos + 1
        openParen = 0
        while len(self.source_text) < i:
            ch = self.source_text[i]
            if ch == "{":
                return True
            elif ch == "(":
                # pseudoclasses can contain ()
                openParen += 1
            elif ch == ")":
                if openParen == 0:
                    return False
                openParen -= 1
            elif ch == ";" or ch == "}":
                return False
            i += 1;

        return False
dataset/ETHPy150Open akalongman/sublimetext-codeformatter/codeformatter/lib/cssbeautifier/__init__.py/Beautifier.foundNestedPseudoClass/swapped operands of `<`