how to check does entity has field in Drupal 8 code example Example: drupal 8 node has field $entity->hasField('abc')