code: def test_type_flags(self):
      for cls in _CFuncPtr, PyCFuncPtrType:
          with self.subTest(cls=cls):
              self.assertTrue(
                  _CFuncPtr.__flags__ & Py_TPFLAGS_IMMUTABLETYPE
              )
              self.assertFalse(
                  _CFuncPtr.__flags__
                  & Py_TPFLAGS_DISALLOW_INSTANTIATION
              )
  
file_path: cpython/Lib/test/test_ctypes/test_funcptr.py
imports: import _ctypes_test
  import ctypes
  import unittest
  from ctypes import CDLL, Structure, CFUNCTYPE, sizeof, _CFuncPtr, c_void_p, c_char_p, c_char, c_int, c_uint, c_long
  from ._support import _CData, PyCFuncPtrType, Py_TPFLAGS_DISALLOW_INSTANTIATION, Py_TPFLAGS_IMMUTABLETYPE
label_desc: Use image node_id 2 for calling the CFuncPtrTestCase obj's underlying member method code with example usage: obj.test_type_flags() without return types