GraphQLSchema: simplify `get_possible_types` & `is_possible_type`
GraphQLSchema: simplify `get_possible_types` & `is_possible_type`

Replicates graphql/graphql-js@d78b44509b9bb625189048ddc6ab8ad214187939

graphql-python/graphql-core