[F] hasVisibility
function hasVisibility(   program,   property,   modifier): boolean;Determines if a property has a specified visibility modifier.
If no visibility modifiers have been set for the visibility class of the modifier, the visibility class’s default modifier set is used.
Parameters
Section titled “Parameters”| Parameter | Type | Description | 
|---|---|---|
| program | Program | the program in which the property occurs | 
| property | ModelProperty | the property to check | 
| modifier | EnumMember | the visibility modifier to check for | 
Returns
Section titled “Returns”boolean
true if the property has the visibility modifier, false otherwise