Advancement: Enchant item with specific enchantment

so I want create an advancement where the player has to enchant an item with fortune of any level. I tried everything and nothing works. I also tried misode and I still cant get it to work. ai doesnt help either and now I dont know how to implement that feature. I know that I need the trigger "minecraft:enchanted_item" but Idk how to check for enchantments. I tried both components and predicates conditions and none of em worked.

Continue to help post