I would like to check if a variable is a ctypes type. In the documentation, it is stated that they all inherits the ctypes._CData type. However, this is a non-public class (and that prevent to use isinstance or issubclass).
What is the recommended way to go then ?
This could also be useful for type hinting, and argument type checking