code: def str2bool(v):
      """doc"""
      # because argparse does not support to parse "true, False" as python
      # boolean directly
      return v.lower() in ("true", "t", "1")
  
file_path: PGL/ogb_examples/nodeproppred/ogbn-arxiv/GaAN/utils/args.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from __future__ import absolute_import
  import six
  import os
  import sys
  import argparse
  import logging
  import paddle.fluid
label_desc: Use image node_id 2 for calling a global function with example usage: str2bool(v) and returns: unknown