export const isInternalType = (obj: any, type: string): obj is T => { return !!obj && typeof obj === "object" && obj.___type === type; };