Yes, Nmap can detect it using TCP/IP stack fingerprinting. To do this, run:
sudo nmap -O scanme.nmap.org