Using the command-line / Terminal, is it possible to determine if this Mac has Touch ID or not? I am trying to find a way, using the Terminal/command line, to determine if the Mac I am using has Touch ID or not.

So far web searches have not turned up any answers. 

I would have thought that either ioreg or system_profiler might have the answer, but my attempts to use them have not uncovered anything useful. 

(I did find one reference to Multitouch ID but I believe that has to do with the trackpad not Touch ID.)
You can also look for hardware info and match it against apple provided info about Touch ID enabled Macs.


  Only the 2016, 2017 and 2018 MacBook Pros with "Touch Bar" have Touch ID. 


https://discussions.apple.com/thread/8597511 Though a more credible and updated source would be better. 
Also,  If system pref > Touch ID exists, this can be an indicator.


Using command line how to open a specific section of GUI System Preferences?
How do you access network preferences from the Terminal?

https://ioshacker.com/how-to/use-touch-id-for-sudo-in-terminal-on-mac look for tid (I don't know where)