Changed how Avocado.hasUserRole operates