check that enchantedPermanent is valid