input: Write a python function to test if an object is a member of a given class.
  assert is_member_of_class([1, 2, 3], list) == True
  assert is_member_of_class(4, int) == True
  assert is_member_of_class("hello", str) == True
  assert is_member_of_class(3.14, float) == True
output: def is_member_of_class(obj, cls):
      return isinstance(obj, cls)