Modernize code a bit: use isinstance instead of type(); return True/False
1 file changed