def possible_type?(type, ctx)
      type_name = type.is_a?(String) ? type : type.graphql_name
      !get_possible_type(type_name, ctx).nil?
    end
def possible_type?(type, ctx)
      type_name = type.is_a?(String) ? type : type.graphql_name
      !get_possible_type(type_name, ctx).nil?
    end
Check if a type is a possible type of this {UnionType}
 @param type [String, GraphQL::BaseType] Name of the type or a type definition
 @param ctx [GraphQL::Query::Context] The context for the current query
 @return [Boolean] True if the `type` exists and is a member of this {UnionType}, (else `nil`)