isEmpty

open fun isEmpty(): Boolean

Returns true if the compound is empty (contains no elements), false otherwise.