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 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 or Mutation Warrior, could I take alchemist discoveries that affect mutagens, as an alchemist, and apply them to the dip class’ Mutagen?