function checkGlobal(value) {
    return (value && value.Object === Object) ? value : null;
  }
Checks if `value` is a global object.

@private
@param {*} value The value to check.
@returns {null|Object} Returns `value` if it's a global object, else `null`.