public boolean checkRootBySuperUserApk(){
  File suApk=new File(SU_APK);
  if (suApk.exists()) {
    if (Constants.DEBUG_MODE_ENABLED) {
      Log.d(TAG,"Super apk is found in the device");
    }
    return true;
  }
  return false;
}

public boolean checkRootBySuperUserApk ( ) { File suApk = new File ( SU_APK ) ; if ( suApk . exists ( ) ) { if ( Constants . DEBUG_MODE_ENABLED ) { Log . d ( TAG , "Super apk is found in the device" ) ; } return true ; } return false ; }
returns true if the device contains superuser . apk which is stored into the device in the rooting process .
