is.empty function

Checks if an object is empty (e.g: of zero length)