This should probably be `is not None` here, as the view itself doesn't actually have to be a callable (due to the `attr` keyword).