Creates a component, from a seed object, or test to see if an object is a component.
as.component (obj) is.component (obj)
obj