is_frequency_weights function

Is x a frequency weights vector?