code: def is_list_of(seq, expected_type):
      """Check whether it is a list of some type.
  
      A partial method of :func:`is_seq_of`.
      """
      return is_seq_of(seq, expected_type, seq_type=list)
  
imports: import collections.abc
  import functools
  import itertools
  import subprocess
  import warnings
  from collections import abc
  from importlib import import_module
  from inspect import getfullargspec
  from itertools import repeat
label_desc: Use image node_id 8 for calling a global function with example usage: is_list_of(seq, expected_type) and returns: is_seq_of