"""
         key_func = lambda cnf_var_entry: cnf_var_entry['number']
 
+        if isinstance (other_cnf, SimpleCnf) is False:
+            return False
+
         return sorted(self.__cnfvars, key=key_func) \
             == sorted(other_cnf.__cnfvars, key=key_func)   # pylint: disable=protected-access
 
         self.assertEqual(self.cnf['testvar'], self.cnf[61])
         self.assertEqual(self.cnf, self.cnf)
         self.assertNotEqual(self.cnf[56], self.cnf[57])
+        self.assertNotEqual(SimpleCnf ({"cnf": []}), None)
+        self.assertNotEqual(SimpleCnf ({"cnf": []}), 42)
+        self.assertNotEqual(SimpleCnf ({"cnf": []}), "got wood?")
+        self.assertEqual(SimpleCnf (), SimpleCnf ({"cnf": []}))
 
     def test_len(self):
         """ test method :py:meth:`SimpleCnf.__len__` """