code: def _to_bool(s):
      if s.lower().strip() in (b"false", b"0", b"no"):
          return False
      else:
          return True
  
imports: from collections import namedtuple
  import logging
  import re
  from ._mathtext_data import uni2type1
label_desc: Use image node_id 6 for calling a global function with example usage: _to_bool(s) and returns: False, True