isLeaves method

bool isLeaves()

Tests if both elements of the pair are leaf nodes

@return true if both pair elements are leaf nodes

Implementation

bool isLeaves() {
  return !(isComposite(boundable1) || isComposite(boundable2));
}