Returns a boolean that indicates if the ViewModel has an error for the key
bool hasErrorForKey(Object key) => error(key) != null;