def authentication(): """ check if basic authentication is enabled """ return jsonify(enabled=authentication_enabled())