protected function isRequiredModified(EntityInterface $entity, array $requiredFields) : bool
    {
        foreach ($requiredFields as $field) {
            if ($entity->isDirty($field)) {
                return true;
            }
        }

        return false;
    }