In this check, we are checking the presence of the following package in your device. If we found any single package in your device then will consider your device as a rooted device.
SuperUser - com.noshufou.android.su
SuperUser - com.noshufou.android.su.elite
SuperSU - eu.chainfire.supersu
Superuser - com.koushikdutta.superuser
Superuser - com.thirdparty.superuser
ROOT Manager- com.yellowes.su
Magisk - com.topjohnwu.magisk
KingRoot - com.kingroot.kinguser
Kingo - com.kingo.root
OneClickRoot - com.smedialink.oneclickroot
Root Dashi - com.zhiqupk.root.global
Framaroot - com.alephzain.framaroot