Simplify example code
Simplify example code

As has_role returns a boolean anyway, there is no need for another if-statement.
flask-admin/flask-admin,flask-admin/flask-admin,flask-admin/flask-admin,flask-admin/flask-admin