code: def istype(expected):
      """Placeholder docstring"""
  
      def validate(value):
          return isinstance(value, expected)
  
      return validate
  
imports: from __future__ import absolute_import
label_desc: Use image node_id 6 for calling a global function with example usage: istype(expected) and returns: validate, isinstance