How can I test if an element of a structure is of type Any (protobuf): *any.Any, in Go? I want to go through each element of a structure, and do a switch case depending on