Wiz, that phrase only really works if you're a third party in the scenario. A typical use is if two different parties are are arguing and one makes a claim about another. A third party sees this and laughs to themselves because the accusing party is, in fact, what they are claiming the other party to be. Thus they say "Hah, we'll if that isn't the pot calling the kettle black".
Your use could boil down to something more along the lines of "oh ya? well takes one to know one!". Which, based of my knowledge of your personality, pretty much sums up your maturity level.