private boolean isAnyPackageFromListInstalled(List<String> packages){
  boolean result=false;
  PackageManager pm=mContext.getPackageManager();
  for (  String packageName : packages) {
    try {
      pm.getPackageInfo(packageName,0);
      QLog.e(packageName + " ROOT management app detected!");
      result=true;
    }
 catch (    PackageManager.NameNotFoundException e) {
      continue;
    }
  }
  return result;
}

private boolean isAnyPackageFromListInstalled ( List < String > packages ) { boolean result = false ; PackageManager pm = mContext . getPackageManager ( ) ; for ( String packageName : packages ) { try { pm . getPackageInfo ( packageName , 0 ) ; QLog . e ( packageName + " ROOT management app detected!" ) ; result = true ; } catch ( PackageManager . NameNotFoundException e ) { continue ; } } return result ; }
check if any package in the list is installed
