New method isFoo() exists for union fields only and returns true if foo is the active union field.
Attach a file by drag & drop or click to upload