add is_only_child? instance method