Is an object a crate?

is_crate(x)

Arguments

x

An object to test.