This function takes the following parameters:
Entry that you want to check.
Name of the attribute that you want to check.
Pointer to the attribute, if the attribute is in the entry.