8c9349
Remove type comparisons Replace with isinstance, the preferred route as it will check for class and subclass instances as well. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>