def privileged_to_run(self, ability):
    if ((not ability.privilege) or (self.Privileges[self.privilege].value >= self.Privileges[ability.privilege].value)):
        return True
    return False
def privileged_to_run(self, ability):
    if ((not ability.privilege) or (self.Privileges[self.privilege].value >= self.Privileges[ability.privilege].value)):
        return True
    return False