if (ts.getType(CAS.TYPE_NAME_STRING).equals(type) ||
ts.subsumes(ts.getType(CAS.TYPE_NAME_STRING), type)) {
LowLevelTypeSystem lts = ts.getLowLevelTypeSystem();
final int typeCode = lts.ll_getCodeForType(type);
String[] strings = lts.ll_getStringSet(typeCode);
return strings.length > 0;
}
else {
return false;