code: private boolean isAmide(IAtom atom0, IAtom atom1, IAtomContainer ac) {
  
          if (atom0.getSymbol().equals("C") && atom1.getSymbol().equals("N")) {
              for (IAtom neighbor : ac.getConnectedAtomsList(atom0)) {
                  if (neighbor.getSymbol().equals("O")
                          && ac.getBond(atom0, neighbor).getOrder() == Order.DOUBLE) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Checks whether both atoms are involved in an amide C-N bond: *N(*)C(*)=O.
  
  Only the most common constitution is considered. Tautomeric, O\C(*)=N\*,
  and charged forms, [O-]\C(*)=N\*, are ignored.
  
  @param atom0 the first bonding partner
  @param atom1 the second bonding partner
  @param ac the parent container
  
  @return if both partners are involved in an amide C-N bond