The bitfield field is set to true for every field after deserialization of a Thrift message structure.
Here is a simple test program :
The output is :
You can see that the last test for is set on the durationMax field return true, when it sould return false.
Here is the idl file :