def node_field?(field)
      type = field.type.unwrap
      kind = type.kind

      if kind.object?
        node_types.include?(type)
      elsif kind.interface? || kind.union?
        possible_node_types(type).any?
      end
    end
def node_field?(field)
      type = field.type.unwrap
      kind = type.kind

      if kind.object?
        node_types.include?(type)
      elsif kind.interface? || kind.union?
        possible_node_types(type).any?
      end
    end
Is this field for a relay node?

 field - A GraphQL::Field instance.

 Returns true if the field's type includes the `Node` interface or is a
 union or interface with a possible type that includes the `Node` interface
 Returns false otherwise.