def METHOD_NAME(self):
    attr = AttrFactory.create(
        types=[
            AttrTypeFactory.create(qname="foo"),
            AttrTypeFactory.native(DataType.FLOAT),
        ]
    )
    self.assertFalse(attr.is_any_type)
    attr.types.append(AttrTypeFactory.native(DataType.ANY_SIMPLE_TYPE))
    self.assertTrue(attr.is_any_type)