More generally, when used to undermine what someone is saying, calling them a hypocrite is always an invalid argument. You can be a hypocrite and be right.
If Ted Bundy says murder is wrong, does that mean murder is right because he's a hypocrite? Obviously not.
If Ted Bundy says murder is wrong, does that mean murder is right because he's a hypocrite? Obviously not.