code: public static boolean isBreakTarget(Node target, String label) {
      return isBreakStructure(target, label != null) &&
        matchLabel(target.getParent(), label);
    }
docs: Checks if target is actually the break target of labeled continue. The
  label can be null if it is an unlabeled break.