How to detect if note/block is future version?

I'm adding blocks and notes automatically with my add-in, both directly and with drag and drop. Both of these methods fail when the block or note is saved in a future version.

Is there a way to detect the version for these kinds of files with the API? I know how to do it for models, but those methods fail for annotations.

SolidworksApi/macros