function setHubOnCarrier(carrier, hub) {
    if (!carrier)
        return false;
    var __SENTRY__ = (carrier.__SENTRY__ = carrier.__SENTRY__ || {});
    __SENTRY__.hub = hub;
    return true;
}
This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute
@param carrier object
@param hub Hub
@returns A boolean indicating success or failure