Added Cord isEmpty() and nonEmpty()