code: def setup_detect_python2():
          
          if None in [RTs._rt_py2_detect, RTs._rtp_py2_detect]:
              RTs._rt_py2_detect = RefactoringTool(py2_detect_fixers)
              RTs._rtp_py2_detect = RefactoringTool(py2_detect_fixers,
                                                    {'print_function': True})
docs: Call this before using the refactoring tools to create them on demand
          if needed.