Arguments
str
required
The key of the list.
int
required
The index of the first element to keep.
int
required
The index of the first element to keep.
Response
Returns
True if the list was trimmed, False otherwise.