StringUtil hasLength bug fix

Error: Return was inverted. : (