Check if an object is a spatial class

is.spatial(object)