Can you use `!isEmpyStr()` here instead?