Source code for tablate.library.checkers.is_last_element [docs] def is_last_element(index: int, array: list) -> bool: return index == len(array) - 1