isStr should return true with an empty string