def has_grant(self, privileges, on, username, login_from, with_grant_option):

        grants = self.get_user_grants(username, login_from)
        grant_option_string = self._get_grant_option_string(with_grant_option)
        privileges = self._get_privileges(privileges)
        grant_strings = self._get_possible_grant_strings(on, username, privileges, login_from, grant_option_string)

        for grant_string in grant_strings:
            if grant_string in grants:
                return True

        return False
A float with the width of plot elements when hue nesting is used.
dataset/ETHPy150Open python-provy/provy/provy/more/centos/database/mysql.py/MySQLRole.has_grant--crossover with--dataset/ETHPy150Open mwaskom/seaborn/seaborn/categorical.py/_CategoricalStatPlotter.nested_width