<human>:  What is a good Python function to check if an object is seriniable.
<bot>: Here is a Python function to check if an object is seriniable

import json

def is_seriniable(obj):
  """Checks if object is seriniable."""
  return hasattr(obj, '__iter__') or hasattr(obj, '__getitem__')

# Enter the object
obj = "Hello World"

# Calling the function
print((is_seriniable(obj)))

#Example Output
# True

#Remember to inspect code for bugs.