found out ctypes understands 'bool'