Joining a regular VM to a domain is done inside the guest OS of the VM.
There is no way that vSphere would know about this.
You will have to check inside the guest OS.
Or are you trying to find out if a VCSA is joined to an AD domain?
yes domain for vcsa and psc. not for regular vm.