private boolean areHostsFilesExistant(){
  if (!MainActivity.config.hosts.enabled)   return true;
  for (  Configuration.Item item : MainActivity.config.hosts.items) {
    File file=FileHelper.getItemFile(getContext(),item);
    if (item.state != Configuration.Item.STATE_IGNORE && file != null) {
      if (!file.exists())       return false;
    }
  }
  return true;
}

private boolean areHostsFilesExistant ( ) { if ( ! MainActivity . config . hosts . enabled ) return true ; for ( Configuration . Item item : MainActivity . config . hosts . items ) { File file = FileHelper . getItemFile ( getContext ( ) , item ) ; if ( item . state != Configuration . Item . STATE_IGNORE && file != null ) { if ( ! file . exists ( ) ) return false ; } } return true ; }
check if all configured hosts files exist .
