I don't know about any flags. You can try checking if there is some data after the end-of-GCD marker (FF FF 00 00 bytes).