code: def containsDuplicate(self, nums: List[int]) -> bool:
      counter = Counter(nums)
  
      for value in counter.values():
          if value >= 2:
              return True
  
      return False
  
label_desc: Use image node_id 1 for calling the Solution obj's underlying member method code with example usage: obj.containsDuplicate(nums) and returns: False, True