method

empty?

ruby latest stable - Class: REXML::Elements
empty?()
public

Returns true if there are no Element children, false otherwise