Extract method: isUsingGui().