Function to determine whether an object x is a dist object.

is_dist(x)

Arguments

x

The object to test