'Check if a user has a Custom System Role assigned.
`role_id` is id of a `CustomSysRole` instance.'

def is_sys_role(self, role_id):

    role = UserSystemRole.query.filter_by(user=self, role_id=role_id).first()
    return bool(role)
