class Nokogiri::XML::NodeSet

def empty?

Is this NodeSet empty?
##
def empty?
  length == 0
end