CheckMember() public static method

Returns the Uri that returns a 204 if requester is an organization member and the user is, publicly or privately a member of the organization. Returns a 404 if the requester is an organization member and the user is not a member or the requester is not an organization member and is inquiring about themselves. Returns a 302 if the requester is not an organization member.
public static CheckMember ( string org, string name ) : Uri
org string The organization being inquired about
name string The user being inquired about
return System.Uri
        /// <summary>
        /// Check if a user is, publicly or privately, a member of the organization.
        /// </summary>
        /// <remarks>
        /// See the <a href="http://developer.github.com/v3/orgs/members/#check-membership">API documentation</a>
        /// for more information.
        /// </remarks>
        /// <param name="org">The login for the organization</param>
        /// <param name="user">The login for the user</param>
        /// <returns></returns>
        public async Task <bool> CheckMember(string org, string user)
        {
            Ensure.ArgumentNotNullOrEmptyString(org, "org");
            Ensure.ArgumentNotNullOrEmptyString(user, "user");

            try
            {
                var response = await Connection.Get <object>(ApiUrls.CheckMember(org, user), null, null).ConfigureAwait(false);

                var statusCode = response.HttpResponse.StatusCode;
                if (statusCode != HttpStatusCode.NotFound &&
                    statusCode != HttpStatusCode.NoContent &&
                    statusCode != HttpStatusCode.Found)
                {
                    throw new ApiException("Invalid Status Code returned. Expected a 204, a 302 or a 404", statusCode);
                }
                return(statusCode == HttpStatusCode.NoContent);
            }
            catch (NotFoundException)
            {
                return(false);
            }
        }