Make property checking on palette object a little more robust. JN