[tor-commits] [stem/master] Use tuple-of-types with isinstance