code: def get_figure_zoom(click_zoom: int) -> bool:
      """Get figure zoom from n_clicks
  
      Parameters
      ----------
      click_zoom : int
          Number of clicks on zoom button
  
      Returns
      -------
      bool
          zoom active or not
      """
      click = 2 if click_zoom is None else click_zoom
      if click % 2 == 0:
          zoom_active = False
      else:
          zoom_active = True
      return zoom_active
  
imports: from typing import Optional, Tuple
  import numpy
  import pandas
  import datetime
  from dash import dcc, html
  import dash_bootstrap_components
label_desc: Use image node_id 11 for calling a global function with example usage: get_figure_zoom(click_zoom) and returns: zoom_active