Add an "isSet<typename>" test method to the generated sources.

This is the same that the thrift compiler does and some callers expect them to be present.