What About the Bad Popes?

So, does a bad Pope disprove Catholic teaching?