code: def _rst(s, snotrst=""):
      """Produce s only in __rst mode"""
      if __rst_mode:
          return s
      else:
          return snotrst
  
file_path: datalad/datalad/dochelpers.py
imports: import logging
  import re
  import textwrap
  import os
  import sys
  import traceback
  from datalad.support.exceptions import CapturedException
label_desc: Use image node_id 1 for calling a global function with example usage: _rst(s, snotrst) and returns: s, snotrst