check if ldap attribe is in identity