docstr: Skip if never called .privacy()
  Return True/False based on whether called
docstr_tok: ["Skip","if","never","called",".privacy","(",")","Return","True\/False","based","on","whether","called"]
code: def maybe_post_share_link(self, g) -> bool:
      """
      Skip if never called .privacy()
      Return True/False based on whether called
      """
      from .pygraphistry import PyGraphistry
  
      logger.debug(
          "Privacy: global (%s), local (%s)",
          PyGraphistry._config["privacy"] or "None",
          g._privacy or "None",
      )
      if (
          PyGraphistry._config["privacy"] is not None
          or g._privacy is not None
      ):
          self.post_share_link(self.dataset_id, "dataset", g._privacy)
          return True
  
      return False
  
imports: from typing import List, Optional
  import io, pyarrow, requests, sys
  from graphistry.privacy import Mode, Privacy
  from .ArrowFileUploader import ArrowFileUploader
  from .util import setup_logger
label_desc: Use image node_id 49 for calling the ArrowUploader obj's underlying member method code with example usage: obj.maybe_post_share_link(g) and returns: False, True