public static boolean isValidHeartbeatSubscriptionDestination(final int address) {
        if (isValidUnassignedAddress(address) ||
                isValidUnicastAddress(address) ||
                isValidGroupAddress(address))
            return true;
        else
            throw new IllegalArgumentException("Destination address must be an unassigned address, " +
                    "a primary unicast address, or a group address!");
    }
Validates if the address is a valid Heartbeat subscription source.
A valid address shall be an unassigned address, a primary unicast address of the node, or a group address,
All other values are Prohibited.

@param address address
@return true if valid or false otherwise.
mesh/src/main/java/no/nordicsemi/android/mesh/utils/MeshAddress.java