code: def _is_valid_filename(filename: str) -> bool:
      """Utility to check whether the provided filename is valid."""
      exp = re.compile('^[^<>:;,?"*|/]+$')
      match = exp.match(filename)
      return bool(match)
  
imports: import os
  import re
  import sys
  import uuid
  from itertools import chain
  from typing import Callable, Iterable, Optional
  from onnx.onnx_pb import AttributeProto, GraphProto, ModelProto, TensorProto
label_desc: Use image node_id 14 for calling a global function with example usage: _is_valid_filename(filename) and returns: bool