[py] add helper to check if we are on a 32bit system