def user_exists(self, username, login_from='%'):
        return login_from in self.get_user_hosts(username)
Returns :data:`True` if the given user exists for the given location in mysql server.
dataset/ETHPy150Open python-provy/provy/provy/more/centos/database/mysql.py/MySQLRole.user_exists