isBigNumber = function (object) {
    return object instanceof BigNumber ||
        (object && object.constructor && object.constructor.name === 'BigNumber');
}
Returns true if object is BigNumber, otherwise false

@method isBigNumber
@param {Object}
@return {Boolean}