ChessConsole.Utils.IsNotLoggedIn C# (CSharp) Method

IsNotLoggedIn() public static method

public static IsNotLoggedIn ( ) : bool
return bool
        public static bool IsNotLoggedIn()
        {
            if (CurrentUser.Name == null)
            {
                return true;
            }
            Console.WriteLine("You are logged in.");
            return false;
        }