public final boolean isProvisionerSelected() {
        if (provisioners.size() == 1) {
            if (!provisioners.get(0).isLastSelected())
                selectProvisioner(provisioners.get(0));
            return true;
        }

        for (Provisioner provisioner : provisioners) {
            if (provisioner.isLastSelected()) {
                return true;
            }
        }
        return false;
    }
Checks if the provisioner is selected
<p> There could be networks that may contain more than one provisioner</p>

@return true if a provisioner was selected or false otherwise
mesh/src/main/java/no/nordicsemi/android/mesh/BaseMeshNetwork.java