Edit is_admin function without the ugly if else block