Not the exact wording but the general premise behind it is a fair counter point in any disagreement. When someone is attempting to gain a higher moral authority, bringing up any hypocrisy is a reasonable thing to do. If pointing out hypocrisy is then dismissed, it is reasonable to assume the other person is not arguing in good faith and therefore should no be taken seriously.
I do agree that your example is deflection although it is not an example I would describe as not exactly the same. While it has some similarities it is not close enough to exact to be described that way.