Checks if range ends with a given element.
The range of values to check if ends with elem.
The element to check if range ends with.
True if range ends with elem.
See Implementation
Checks if range ends with a given element.