I'd prefer a ```hasattr()``` to an ```isinstance()``` call but I won't lose sleep over it.