code: def cursor_for_object_in_connection(data, _object):
      '''
      Return the cursor associated with an object in an array.
      '''
      if _object not in data:
          return None
  
      offset = data.index(_object)
      return offset_to_cursor(offsetf cursor_for_object_in_connection(data, _object):
      '''
      Return the cursor associated with an object in an array.
      '''
      if _object not in data:
          return None
  
      offset = data.index(_object)
      return offset_to_cursor(offset)
docs: Return the cursor associated with an object in an array.