def has_role( self, role):
        if( not self.roles or role not in self.roles):
            return False

        return True
dataset/ETHPy150Open manasgarg/flask-sauth/flask_sauth/models.py/BaseUser.has_role/original