code: def _verbosity_filter(index, verbose):
      """Returns False for indices increasingly apart, the distance
      depending on the value of verbose.
  
      We use a lag increasing as the square of index
      """
      if not verbose:
          return True
      elif verbose > 10:
          return False
      if index == 0:
          return False
      verbose = 0.5 * (11 - verbose) ** 2
      scale = sqrt(index / verbose)
      next_scale = sqrt((index + 1) / verbose)
      return int(next_scale) == int(scale)
  
imports: from __future__ import division
  import os
  import sys
  from math import sqrt
  import functools
  import time
  import threading
  import itertools
  from numbers import Integral
  from contextlib import contextmanager
  from ._multiprocessing_helpers import mp
  from .format_stack import format_outer_frames
  from .logger import Logger, short_format_time
  from .my_exceptions import TransportableException, _mk_exception
  from .disk import memstr_to_bytes
  from ._parallel_backends import FallbackToBackend, MultiprocessingBackend, ThreadingBackend, SequentialBackend
  from ._compat import _basestring
  from .func_inspect import getfullargspec
  from ._parallel_backends import AutoBatchingMixin
  from ._parallel_backends import ParallelBackendBase
label_desc: Use image node_id 4 for calling a global function with example usage: _verbosity_filter(index, verbose) and returns: unknown, True, False, False