public static boolean containsElement ( IMolecularFormula formula , IElement element ) { for ( IIsotope isotope : formula . isotopes ( ) ) { if ( element . getSymbol ( ) . equals ( isotope . getSymbol ( ) ) ) return true ; } return false ; }
True if the MolecularFormula contains the given element as IIsotope object .