Util to test if all ptr fields are nil

This is a lead-up to the volumes-as-plugin PR, which has gotten rather large.
I believe a nil obj might cause that. If it's not valid, the below lines will crash. I don't care if you round that off to true or false instead of returning an error. Or just crash if that doesn't bother you and people shouldn't use this like that.