question: private void checkKey ( String newKey ) { boolean isRefreshIdents = false ; if ( null == registrationIdKey ) { registrationIdKey = newKey ; } else { isRefreshIdents = ! Objects . equals ( registrationIdKey , newKey ) ; registrationIdKey = newKey ; } if ( isRefreshIdents ) { cachedDataService . triggerRefreshIdents ( ) ; } }
target:  Check if key has changed and fire the refresh idents if necessary.