@UserExist(uid_key='smpp_ban')
    def ban(self, arg, opts):
        user = self.pb['router'].getUser(opts.smpp_ban)
        st = self.pb['smpps'].unbindAndRemoveGateway(user)

        if st:
            self.protocol.sendData('Successfully unbound and banned User id:%s' % opts.smpp_ban)
        else:
            self.protocol.sendData('Failed banning User, check log for details')
dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/cli/usersm.py/UsersManager.ban/original