This function takes the following parameters:
Attribute that you wish to check.
Pointer to the berval structure containing the value for which you wish to search.