Is this object a partition?

is_partition(x)

Arguments

x

an object to be tested

Value

logical: TRUE or FALSE