How to check interior color has been set for annotation using Java API

Product: Java API

Product Version: Latest

Please give a brief summary of your issue:
(Think of this as an email subject)
How to check interior color has been set for annotation using Java API

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
I am using below code to retrieve the annotation fill color.
ColorPt colorPt = mAnnot.getInteriorColor();

This API is always returning some color data. As shown below even if I don’t set any fill color this API returns the value as 0,0,0 and the same value is returned for black color as well. I want to know how to find whether fill color has been set for annotation or not?
image

Please provide a link to a minimal sample where the issue is reproducible:

Thank you for contacting us about this. You can check if the interior color value is set using the following code on the annotation object:

if (annot.GetSDFObj().FindObj("IC") == null)
{
    // annotation has no set interior color 
}