def METHOD_NAME(self):
    # NULL pointers have a boolean False value, non-NULL pointers True.
    self.assertEqual(bool(POINTER(c_int)()), False)
    self.assertEqual(bool(pointer(c_int())), True)
    self.assertEqual(bool(CFUNCTYPE(None)(0)), False)
    self.assertEqual(bool(CFUNCTYPE(None)(42)), True)
    # COM methods are boolean True:
    if sys.platform == "win32":
        mth = WINFUNCTYPE(None)(42, "name", (), None)
        self.assertEqual(bool(mth), True)