public static boolean isValidSceneNumber(final int sceneNumber) {
        if (sceneNumber > 0x0000 && sceneNumber <= 0xFFFF) return true;
        throw new IllegalArgumentException("Scene number must range from 0x0001 to 0xFFFF!");
    }
Validates the excene number

@param sceneNumber Scene number
@return true if is a valid or throws an IllegalArgument exception
mesh/src/main/java/no/nordicsemi/android/mesh/Scene.java