public boolean is(String arg,boolean allowAbbr){
  if (name.equalsIgnoreCase(arg)) {
    return true;
  }
  if (allowAbbr && arg.length() == 1) {
    if (arg.charAt(0) == c) {
      return true;
    }
  }
  return false;
}

public boolean is ( String arg , boolean allowAbbr ) { if ( name . equalsIgnoreCase ( arg ) ) { return true ; } if ( allowAbbr && arg . length ( ) == 1 ) { if ( arg . charAt ( 0 ) == c ) { return true ; } } return false ; }
returns true if the atg string matches the name of the arg , or , if allowabbr is true , returns true if the arg length is one and it matches the first letter of the arg name .
