empty method

dynamic empty()

Implementation

empty() {
  return this.nodes.length == 0;
}