How to tell which properties are "HideInInspector"

Hi,

I’m been looking around but I can’t find a way to see if a property is hidden by [HideInInspector] like:

[HideInInspector]
public int intToHide = 5;

...

if(serializedObject.FindProperty("intTohide").isHidden){
...
}

Is there any way to see if a property is hidden in the inspector?

Found it, it’s .hasVisibleChildren