whether field is registered
bool hasField(String name) => _states.any((element) => element.name == name);