This function takes the following parameters:
Entry to check for the virtual attribute.
Attribute type of the virtual attribute.
Structure to hold the virtual attribute.
Bitmask indicated whether the caller needs to free the attribute.