How is this different from the contains(other: ReferencePosition) method above?