code: static boolean isContinueTarget(
        Node target, String label) {
      return NodeUtil.isLoopStructure(target) && matchLabel(target.getParent(), label);
    }
docs: Checks if target is actually the continue target of labeled continue. The
  label can be null if it is an unlabeled continue.