def METHOD_NAME(self):
    attr = AttrFactory.create()
    self.assertFalse(attr.is_xsi_type)
    attr.namespace = Namespace.XSI.uri
    self.assertFalse(attr.is_xsi_type)
    attr.name = "type"
    self.assertTrue(attr.is_xsi_type)