function flag = isValidDistributionPartition(x)

%   Copyright 2007-2022 The MathWorks, Inc.

flag = isRowVectorWithLength(x,spmdSize) && isPositiveIntegerValuedNumeric(x,true);
