public static BeaconType getBeaconType(final byte[] manufacturerData) {
        if (manufacturerData == null || manufacturerData.length == 0) {
            return BeaconType.NOT_A_BEACON;
        }

        if(isIBeacon(manufacturerData)){
            return BeaconType.IBEACON;
        } else {
            return BeaconType.NOT_A_BEACON;
        }
    }
Ascertains whether a Manufacturer Data byte array belongs to a known Beacon type;

@param manufacturerData a Bluetooth LE device's raw manufacturerData.
@return the {@link BeaconType}
library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/BeaconUtils.java