def _validate_colocate_with_variable(self, colocate_with_variable): values.validate_colocate_distributed_variable(colocate_with_variable, self)