'remove a role_ref'

def remove_role_ref(self, inc_role_ref):

    if (self.role_ref and (self.role_ref['name'] == inc_role_ref)):
        del self.role_ref['name']
        return True
    return False
