question: private boolean isLocalId ( String localId ) { if ( ! localId . startsWith ( "local_" ) ) { return false ; } for ( int i = 6 ; i < localId . length ( ) ; ++ i ) { char c = localId . charAt ( i ) ; if ( ! ( c >= '0' && c <= '9' ) && ! ( c >= 'a' && c <= 'f' ) ) { return false ; } } return true ; }
target:  Returns true if localId has the right basic format for a local id.