public function isEqualTo(UnionType $union_type) : bool { return (string) $this === (string) $union_type; }