def METHOD_NAME(self):
    block_stripped = self.block.lstrip()
    if block_stripped.startswith(":"):
        if not self.offset:
            raise SyntaxError(
                f"Line: {self.getLine()}, no statement to terminate: `{block_stripped}`"
            )
        self.offset -= 1
        self.block = block_stripped[1:]
        if not self.block.endswith(":"):
            return True
    return False