public boolean isSupportedOption(String name){
  boolean isSupported=false;
  for (Iterator i=mandatoryOptions.iterator(); i.hasNext() && !isSupported; ) {
    String opt=(String)i.next();
    isSupported=opt.equals(name);
  }
  for (Iterator i=optionalOptions.iterator(); i.hasNext() && !isSupported; ) {
    String opt=(String)i.next();
    isSupported=opt.equals(name);
  }
  return isSupported;
}

public boolean isSupportedOption ( String name ) { boolean isSupported = false ; for ( Iterator i = mandatoryOptions . iterator ( ) ; i . hasNext ( ) && ! isSupported ; ) { String opt = ( String ) i . next ( ) ; isSupported = opt . equals ( name ) ; } for ( Iterator i = optionalOptions . iterator ( ) ; i . hasNext ( ) && ! isSupported ; ) { String opt = ( String ) i . next ( ) ; isSupported = opt . equals ( name ) ; } return isSupported ; }
returns < true > if the option is supported .
