public static boolean supportsFriendFeature(final int feature) {
        return ((feature & (1 << 2)) > 0);
    }
Checks if friend feature is supported by node;

@param feature 16-bit feature value
@return true if friend bit = 1 and false if friend bit = 0
mesh/src/main/java/no/nordicsemi/android/mesh/utils/DeviceFeatureUtils.java