} else if (isNumeric(type)) {
try {
final BigDecimal bd = getBigDecimal(o);
return !(bd.compareTo(new BigDecimal(0)) == 0);
} catch (final Exception e) {
throw new TypeErrorException();
}
}
} else if (o instanceof CodeMapLiteral || o instanceof StringLiteral) {
return !(o.toString().length() == 2);
}
throw new TypeErrorException();
}