code: def nonstreamable_mp4_file_object(infile, cmd="ffprobe"):
      """
      Test if the given audio file object is a non-streamable MPEG4 container.
      Decode the given audio and return a file-like object for reading the
      samples, as well as a process object.
  
      Parameters
      ----------
      infile : file_types
          File object to decode.
      cmd : {'ffprobe', 'avprobe'}, optional
          Probing command (defaults to ffprobe, alternatively supports avprobe).
  
      Returns
      -------
      boolean
          True when audio is non-streamable container, False otherwise.
  
      """
      call = [
          cmd,
          "-v",
          "debug",
          "-hide_banner",
          "-show_entries",
          "format=format_name",
          "-print_format",
          "default=nokey=1:noprint_wrappers=1",
          "pipe:0",
      ]
      proc = subprocess.Popen(
          call,
          stdin=subprocess.PIPE,
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
      )
      out, err = proc.communicate(infile.read())
      retcode = proc.poll()
      infile.seek(0)
      if retcode:
          raise subprocess.CalledProcessError(retcode, call, output=err)
      container_format = out.decode().strip()
      partial_file = "partial file" in err.decode()
      if container_format == "mov,mp4,m4a,3gp,3g2,mj2" and partial_file:
          return True
      else:
          return False
  
imports: from __future__ import absolute_import, division, print_function
  import errno
  import os
  import subprocess
  import sys
  import tempfile
  import numpy
  from ..audio.signal import Signal
  from ..utils import string_types, file_types
label_desc: Use image node_id 5 for calling a global function with example usage: nonstreamable_mp4_file_object(infile, cmd) and returns: True, False