gh-74690: typing: Simplify and optimise _ProtocolMeta.__instancecheck__
#103159
+3
−11
_ProtocolMeta.__instancecheck__
#103159