is-mdm

is-mdm allows for quick, zero dependency checking of whether or not the device it is run on is a managed device.