}
public static boolean hasSpellCheckMapping(CompassConfiguration compassConfiguration) {
try {
FieldInvoker invoker = new FieldInvoker(CompassConfiguration.class, "mappingBinding").prepare();
CompassMappingBinding mappingBinding = (CompassMappingBinding) invoker.get(compassConfiguration);
if (mappingBinding == null) {
return false;
}
invoker = new FieldInvoker(CompassMappingBinding.class, "mapping").prepare();