Checks whether the
referenceID
of this instance is set.
false if the referenceID is null. Otherwise, it returns true.