Voting starts in March for the Drupal Association Board election.
Currently there's lots of code that checks whether a field exists by calling $entity->getPropertyDefinition(). Firstly, there's some terminology confusion around "property definition" vs. "field definition".might help resolve some of that. But secondly, module code shouldn't need to deal with the concept of a definition at all if all it wants to do is know whether the field exists.
So, this patch adds a hasField() method.