code: def is_pdf(filepath):
      return mimetypes.guess_type(filepath)[0] == "application/pdf"
  
imports: from subprocess import DEVNULL, PIPE, Popen
  from ..imports import *
label_desc: Use image node_id 4 for calling a global function with example usage: is_pdf(filepath) and returns: unknown