I'm not familiar with how this call will be used, but it seems like getRefs() or calculateRefs() would be a better name? haveRefs() to me seems like it should return a bool.