`unless dataset.is_a?(Dataset)` is more idiomatic