code: @Override
  	public boolean hasBond(Atom other){
  		if ( bonds == null)
  			return false;
  
  		for (Bond b : bonds){
  			if ( b.getAtomA().equals(other) || b.getAtomB().equals(other))
  				return true;
  		}
  		return false;
  	}
docs: {@inheritDoc}