private boolean isChildOfCheck(final String bestSuperFamModelId,final String parentFamModelId){
  if (bestSuperFamModelId != null && parentFamModelId != null) {
    if (bestSuperFamModelId.equals(parentFamModelId)) {
      return true;
    }
  }
  return false;
}

private boolean isChildOfCheck ( final String bestSuperFamModelId , final String parentFamModelId ) { if ( bestSuperFamModelId != null && parentFamModelId != null ) { if ( bestSuperFamModelId . equals ( parentFamModelId ) ) { return true ; } } return false ; }
checks if parent model id is the same as best super family model id .
