docs: @Requires("label != null")
    protected static boolean labelIsResolved(Label label) {
      try {
        label.getOffset();
      } catch (IllegalStateException e) {
        return false;
      }
      return true;
    }