question: public boolean matchesId ( String checkId ) { if ( checkId == null ) { return false ; } else if ( uuid . isPresent ( ) && checkId . equals ( uuid . get ( ) ) ) { return true ; } String id = getId ( ) ; return ! id . equals ( "0" ) && checkId . equals ( id ) ; }
target:  Check whether an id matches for this persistent resource.