def logOut(command):
    """ Check if command is Quit (b | q | x | e). """
    return (command.strip().lower() == "b" or command.strip().lower() == 'back' or \
            command.strip().lower() == 'q' or command.strip().lower() == 'quit' or \
            command.strip().lower() == 'x' or command.strip().lower() == 'exit' or \
            command.strip().lower() == 'e')