$IsOfficeClient returns True if running in Vault Office Client. $IsNotOfficeClient returns True if running a client other than the Vault Office client, such as the Vault Professional Client.
This function is used for example in CreateFile.ps1 to decide which XAML file should be used.