is_case_weights function

Is x a case weights vector?