code: def _check_elements_equal(lst):
      """
      Returns true if all of the elements in the list are equal.
      """
      assert isinstance(lst, list), "Input value must be a list."
      return not lst or lst.count(lst[0]) == len(lst)
  
file_path: turicreate/src/python/turicreate/toolkits/_private_utils.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from turicreate.toolkits._main import ToolkitError
  import logging
label_desc: Use image node_id 4 for calling a global function with example usage: _check_elements_equal(lst) and returns: unknown