def _check_required_group(self):
required_group_dn = self.settings.REQUIRE_GROUP<EOL>if required_group_dn is not None:<EOL><INDENT>is_member = self._get_groups().is_member_of(required_group_dn)<EOL>if not is_member:<EOL><INDENT>raise self.AuthenticationFailed("<STR_LIT>")<EOL><DEDENT><DEDENT>return True<EOL>
Returns True if the group requirement (AUTH_LDAP_REQUIRE_GROUP) is
met. Always returns True if AUTH_LDAP_REQUIRE_GROUP is None.