python check if interactive