Custom proeprties

Is there any API to find whether the custom property value(not resolved value) is linked with annotation or just avalueSolidworksAssemblies