More pedantic: this function should be called `is_equal_binning` (or just `is_equal`)