implement new is_ignore walk up tree function