message: [NFC] Re-instate use of FuncOp::isPublic()
diff: @@ -232,22 +232,19 @@ static LogicalResult VerifySavedModelModule(
  for (auto func : module.getOps<FuncOp>()) {
  const bool is_exported = IsExported(func);
  - if (is_exported && func.getVisibility() != FuncOp::Visibility::Public) {
  + if (is_exported && !func.isPublic()) {
  return func.emitError()
  << "exported function @" << func.getName() << " should be public";
  }
  - if (!is_exported && func.getVisibility() == FuncOp::Visibility::Public) {
  + if (!is_exported && func.isPublic()) {
  return func.emitError() << "non-exported function @" << func.getName()
  << " should be private";
  }
  - if (HasAnyTfSavedModelArgAttr(func)) {
  - if (!is_exported) {
  - return func.emitError()
  - << "can only apply 'tf_saved_model' argument attributes "
  - "to exported functions";
  - }
  + if (!is_exported && HasAnyTfSavedModelArgAttr(func)) {
  + return func.emitError() << "can only apply 'tf_saved_model' argument "
  + "attributes to exported functions";
  }
  }
  