public boolean isCustomPrefix(String entity){
  boolean result=false;
  int i=entity.indexOf("_");
  if (i != -1) {
    String prefix=entity.substring(0,entity.indexOf("_"));
    result=m_customPrefixes.contains(prefix.toUpperCase());
  }
  return result;
}

public boolean isCustomPrefix ( String entity ) { boolean result = false ; int i = entity . indexOf ( "_" ) ; if ( i != - 1 ) { String prefix = entity . substring ( 0 , entity . indexOf ( "_" ) ) ; result = m_customPrefixes . contains ( prefix . toUpperCase ( ) ) ; } return result ; }
checks whether an entity is named with a custom prefix
