URL:
https://github.com/freeipa/freeipa/pull/877
Title: #877: LDAP ObjectClasses are case-insensitive
abbra commented:
"""
Please use `LDAPObject.has_objectclass()` method instead:
```python
if not api.Object[obj_type].has_objectclass(entry['objectclass'],
required_objectclass):
raise ...
```
"""
See the full comment at
https://github.com/freeipa/freeipa/pull/877#issuecomment-309426854