code: @Override
      public boolean isConnectedTo(IBond bond) {
          for (IAtom atom : atoms) {
              if (bond.contains(atom)) return true;
          }
          return false;
      }
docs: Checks whether a bond is connected to another one.
  This can only be true if the bonds have an Atom in common.
  
  @param bond The bond which is checked to be connect with this one
  @return true if the bonds share an atom, otherwise false