def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def local_rank(self) -> int:
        return 0 if self._local_rank is None else self._local_rank