<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ban_member_from_group(self, group_jid, peer_jid):
 """ Bans a member from the group :param group_jid: The JID of the relevant group :param peer_jid: The JID of the user to ban """

        log.info("[+] Requesting ban of user {} from group {}".format(peer_jid, group_jid))
        return self._send_xmpp_element(group_adminship.BanMemberRequest(group_jid, peer_jid))