question: public State isWatching ( ) { lock . lock ( ) ; try { if ( hashToKeys . isEmpty ( ) ) return State . EMPTY ; return isWatching ? State . WATCHING : State . REGULAR ; } finally { lock . unlock ( ) ; } }
target:  Returns whether this chain consists of pubkey only (watching) keys, regular keys (usable for signing), or has no keys in it yet at all (thus we cannot tell).