I tried this at two servers at my client, both running Windows Server 2016. None of them are in a Windows cluster as far as I know.
On both, I get one row back from sys.dm_hadr_cluster on the default instance. The test server has a couple of named instances, and interesting the DMV came out empty when I tried the query on a named instance.
I guess that SQL Server just calls a Windows API, and if that API returns something, the information is relayed. Since there is no clustering support on a workstation OS, the API is empty on a workstation OS.