private boolean isMediaTypeSupported(String media){
  for (int i=0; i < SUPPORTED_MEDIA_TYPES.length; i++) {
    if (media.equalsIgnoreCase(SUPPORTED_MEDIA_TYPES[i])) {
      return true;
    }
  }
  return false;
}

private boolean isMediaTypeSupported ( String media ) { for ( int i = 0 ; i < SUPPORTED_MEDIA_TYPES . length ; i ++ ) { if ( media . equalsIgnoreCase ( SUPPORTED_MEDIA_TYPES [ i ] ) ) { return true ; } } return false ; }
returns true if the specified css media type is unsupported , false otherwise
