This function takes the following parameters:
Attribute that you want to check.
Flag that you want to check in the attribute.
The value of the flag argument can be one of the following:
Flag that determines if the attribute is single-valued.
Flag that determines if the attribute is an operational attribute.
Flag that determines if the attribute is read-only.