private boolean isDescendantGroup(ThreadGroupReferenceProxyImpl group) {
    if (group == null) return false;

    if (getThreadGroupReference() == group) return true;

    return isDescendantGroup(group.parent());
  }
private boolean isDescendantGroup(ThreadGroupReferenceProxyImpl group)