public function needsSlugUpdate(EntityInterface $entity, $deep = false) {
		foreach ((array)$this->_config['label'] as $label) {
			if ($entity->isDirty($label)) {
				return true;
			}
		}
		if ($deep) {
			$copy = clone $entity;
			$this->slug($copy, ['overwrite' => true]);
			return $copy->get($this->_config['field']) !== $entity->get($this->_config['field']);
		}
		return false;
	}