public boolean optBoolean(int index){
  return optBoolean(index,false);
}

public boolean optBoolean ( int index ) { return optBoolean ( index , false ) ; }
get the optional boolean value associated with an index . it returns false if there is no value at that index , or if the value is not boolean . true or the string " true " .
