But I probably should change it so that it specifically checks that the type is exactly `bool` rather than that it assigns to `bool`.