Google

def has_attributes? return !@attributes.empty? end