def is_top(self):
        if self.expanded_index is None:
            return False
        return self.expanded_index + 1 == len(self.regions)
dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/haskell_type.py/ExpandSelectionInfo.is_top/original