usertools: do not test empty with function len