def METHOD_NAME(self):
    self._attrdict["1<2"] = 3
    self.assertFalse("1<2" in dir(self._attrdict))
    self.assertTrue("1<2" in list(self._attrdict.keys()))
    self._attrdict["?abc"] = 4
    self.assertFalse("?abc" in dir(self._attrdict))
    self.assertTrue("?abc" in list(self._attrdict.keys()))