def cur_depth_level(self):
        """
        Returns:
            int: depth level for the current task
        """
        cur_level = self.initial_depth
        if not self.am_i_main_thread:
            cur_level += len(self.get_tasks(thread_name='MainThread'))

        return cur_level + len(self.tasks)
Returns:
            int: depth level for the current task