class RuboCop::AST::HashNode

def empty?

@return[Boolean] whether the `hash` is empty

Checks whether the `hash` node contains any `pair`- or `kwsplat` nodes.
def empty?
  children.empty?
end