# File lib/better_nested_set.rb, line 153 153: def child? 154: parent_id = self[acts_as_nested_set_options[:parent_column]] 155: !(parent_id == 0 || parent_id.nil?) && (self[acts_as_nested_set_options[:left_column]] > 1) && (self[acts_as_nested_set_options[:right_column]] > self[acts_as_nested_set_options[:left_column]]) 156: end