__has_annotation

Macro __has_annotation 

Source
__has_annotation!() { /* proc-macro */ }