question: private boolean hasPrimary ( ) { synchronized ( this ) { return this . primaryState == OTHER_PRIMARY_NOT_HOSTING || this . primaryState == OTHER_PRIMARY_HOSTING || this . primaryState == IS_PRIMARY_HOSTING ; } }
target:  Returns true if the a primary is known.