Walross mit ternärer Python
do_something(list_of_roles) if (list_of_roles := get_role_list(username)) else "Role list is [] empty"
Luck Wei Cheong
do_something(list_of_roles) if (list_of_roles := get_role_list(username)) else "Role list is [] empty"