Don't explicitly check if mapping type is None, instead try to call method on the specified mapping type and handle NotImplementedError.