public boolean dependsOn(String dependenceName) {

      for (TopologyElementCalled e : dependences) {
         if (e.getElement().getName().equals(dependenceName)) {
            return true;
         }
      }

      return false;

   }
public boolean dependsOn ( String dependenceName ) { for ( TopologyElementCalled e : dependences ) { if ( e . getElement ( ) . getName ( ) . equals ( dependenceName ) ) { return true ; } } return false ; }
@param dependenceName
@return true if the element execution depends on (i.e., calls) the module
called dependenceName. False otherwise