Checking
(Get-Datastore -Name "backup" -Datacenter (Get-Datacenter "TEST" -erroraction "Stop") -erroraction "Stop").ExtensionData.configstatus
gives me "gray". Hope this is reliable.
Thanks LucD for pointing me to the right direction, will go for this flag now.
Peter