Seems like some slightly more intelligent code to ignore the exception (`issubclass` would do) might be more future proof to any changes in the API