def has_role(self, uid, role, project_id=None):

        return role in self.get_user_roles(uid, project_id)
Save the form.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/auth/dbdriver.py/DbDriver.has_role--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/admin/forms.py/EMailSettingsForm.save