public static RxBlePhyOptionImpl fromInterface(RxBlePhyOption phyOption) {
        int phyOptionsValue = phyOption.getValue();
        if (phyOption.getClass() != RxBlePhyOptionImpl.class || !BUILTIN_VALUES.contains(phyOption)) {
            RxBleLog.w("Using a custom RxBlePhyOption with value=%d. Please consider making a PR to the library.", phyOptionsValue);
        }
        return phyOption.getClass() == RxBlePhyOptionImpl.class
                ? (RxBlePhyOptionImpl) phyOption
                : new RxBlePhyOptionImpl(null, phyOptionsValue);
    }
Used for user-friendly object toString()
rxandroidble/src/main/java/com/polidea/rxandroidble2/internal/RxBlePhyOptionImpl.java