code: private boolean isRed(IntervalRBTreeNode<T> n) {
      if (n == null) {
        return false;
      }
      return n.color == IntervalRBTreeNode.RED;
    }
docs: Checks if is red.
  
  @param n the n
  @return true, if is red