means that
People often recognise hidden behaviour in others because they have experienced it themselves.
She recognised the trick because she had once used it; the good wife would not seek her daughter in the oven, unless she had been there herself.