Determines whether the call to remove is legal assuming the iterator is valid. The value must not change in runtime hence the user of iterator may cache it.