code: def get_mimetype(filepath):
      return mimetypes.guess_type(filepath)[0]
  
imports: from subprocess import DEVNULL, PIPE, Popen
  from ..imports import *
label_desc: Use image node_id 2 for calling a global function with example usage: get_mimetype(filepath) and returns: mimetypes