Added type based functions.
Lengthy now returns true if an object and has one or more keys.