Implements \Drupal\Core\TypedData\ComplexDataInterface::isEmpty().
Overrides ComplexDataInterface::isEmpty
public function isEmpty() {
foreach ($this
->getProperties() as $property) {
if ($property
->getValue() !== NULL) {
return FALSE;
}
}
return TRUE;
}