`if itemInstance is item or itemData[dataPath] is item.getData()?[dataPath]`