code: def _is_special_float_for_json(val):
      return isinstance(val, float) and (
          math.isnan(val) or math.isinf(val)
      )
  
imports: import json
  import logging
  import math
  import os
  import socket
  import subprocess
  import sys
  import threading
  import time
  from werkzeug.exceptions import NotFound
  from werkzeug.utils import redirect
  from guild import serving_util
  from guild import util
  from guild import var
label_desc: Use image node_id 9 for calling a global function with example usage: _is_special_float_for_json(val) and returns: unknown