code: def _retry_if_exception_of_type(retryable_types):
      def _retry_if_exception_these_types(exception):
          return isinstance(exception, retryable_types)
  
      return _retry_if_exception_these_types
  
imports: import random
  import six
  import sys
  import time
  import traceback
label_desc: Use image node_id 1 for calling a global function with example usage: _retry_if_exception_of_type(retryable_types) and returns: _retry_if_exception_these_types, isinstance