Util to test if all ptr fields are nil