Returns true if the key has a value which is an int. Empty or null value returns false.
bool validInt(String key) { final dynamic value = valueMap[key]; return value != null && value is int; }