Utility Function. Taken from party package to remove ":::" warning
mob_fit_checksplit(split, weights, minsplit)
see party package