def should_show_by_depth(self, cur_level=None):
if cur_level is None:<EOL><INDENT>cur_level = self.cur_depth_level<EOL><DEDENT>return (self.task_tree_depth < <NUM_LIT:0> or self.task_tree_depth >= cur_level)<EOL>
Args:
    cur_level (int): depth level to take into account

Returns:
    bool: True if the given depth level should show messages (not
        taking into account the log level)