private static boolean isIBeacon(final byte[] manufacturerData){
        // An iBeacon record must be at least 25 chars long
        if (!(manufacturerData.length >= 25)) {
            return false;
        }

        if (ByteUtils.doesArrayBeginWith(manufacturerData, IBeaconConstants.MANUFACTURER_DATA_IBEACON_PREFIX)) {
            return true;
        }

        return false;
    }
Ascertains whether a {@link BluetoothLeDevice} is an iBeacon;

@param device a {@link BluetoothLeDevice} device.
@return the {@link BeaconType}
library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/BeaconUtils.java