$osdMode variable

I am trying to figure out the exact purpose of the $osdMode variable in the Office 2013 sample script included with the Toolkit. I am creating deployment scripts for Office 2016 and its associated components, and I am hoping to use that OSPP.VBS scriptblock for activation. I’m guessing that $osdMode is a Boolean that simply detects if the installation is interactive/user is logged in, but I can’t find it referenced anywhere in the documentation and I can’t even find it in the AppDeployToolkitMain.ps1 file. If someone could shed a little light on this topic, I would really appreciate it. Thanks!

(edit) I can’t figure out how to get the code syntax highlighting to work on this site. Here’s a link to a screenshot:

Code screenshot

bug created in github, you can track it here:

Thank you