docs: public boolean isPossibleType(GraphQLType abstractType, GraphQLObjectType concreteType) {
          if (abstractType instanceof GraphQLInterfaceType) {
              return getImplementations((GraphQLInterfaceType) abstractType).stream()
                      .map(GraphQLType::getName)
                      .anyMatch(name -> concreteType.getName().equals(name));
          } else if (abstractType instanceof GraphQLUnionType) {
              return ((GraphQLUnionType) abstractType).getTypes().stream()
                      .map(GraphQLType::getName)
                      .anyMatch(name -> concreteType.getName().equals(name));
          }
  
          return assertShouldNeverHappen("Unsupported abstract type %s. Abstract types supported are Union and Interface.", abstractType.getName());
      }