code: def get_all_same(ls):
      assert len(set(ls)) == 1
      return ls[0]
  
imports: import math
  import itertools
  from dataclasses import replace
  from typing import Mapping, Any, Sequence, Iterable, Iterator, Union, Tuple, Dict, Set
label_desc: Use image node_id 14 for calling a global function with example usage: get_all_same(ls) and returns: ls