code: def isfinite(f):
      return not (math.isinf(f) or math.isnan(f))
  
imports: import math
  from typing import List, Union
label_desc: Use image node_id 1 for calling a global function with example usage: isfinite(f) and returns: unknown