code: private ValidationReport validateStereoChemistry(IBond bond) {
          ValidationReport report = new ValidationReport();
          ValidationTest bondStereo = new ValidationTest(bond, "Defining stereochemistry on bonds is not safe.",
                  "Use atom based stereochemistry.");
          if (bond.getStereo() != IBond.Stereo.NONE) {
              report.addWarning(bondStereo);
          } else {
              report.addOK(bondStereo);
          }
          return report;
      }
docs: the Bond tests