Testa se índice é válido para essa lista
bool isIndexValid(int index) => this.isNotEmpty && index >= 0 && index < this.length;