public bool DoesUserExist(string username) { stateIsValid(); object o = proxy.doesUserExist(devkey, username); if (handleErrorMessage(o, 10000)) //10000 means no such user login return false; return (bool)o; } #endregion