It's best to just give an example for this:

Let's say I have levels in a rogue archetype that gives up Evasion, but I take a two level dip into monk to get Evasion. Would I qualify for the Improved Evasion advanced talent upon reaching rogue level 10? (yes, I know RAW [Improved Evasion](https://www.d20pfsrd.com/classes/core-classes/rogue/rogue-talents/paizo-rogue-advanced-talents/improved-evasion-ex/) has no Evasion prerequisite but I doubt most GMs would let you get away with taking it without Evasion)

Or if I had levels in an alchemist archetype that gave up Mutagen, but took a dip in [Mutagenic Mauler](https://www.d20pfsrd.com/classes/hybrid-classes/brawler/archetypes/paizo-brawler-archetypes/mutagenic-mauler/) or [Mutation Warrior](https://www.d20pfsrd.com/classes/core-classes/fighter/archetypes/paizo-fighter-archetypes/mutation-warrior/), could I take alchemist discoveries that affect mutagens, *as an alchemist*, and apply them to the dip class' Mutagen?