def METHOD_NAME(self):
    obj = ClassFactory.create()
    self.assertFalse(obj.is_mixed)
    obj.attrs.append(AttrFactory.any(mixed=True))
    self.assertTrue(obj.is_mixed)
    obj = ClassFactory.create(mixed=True)
    self.assertTrue(obj.is_mixed)