code: def _id_from_data(cls, data):
  		
  
  		if isinstance(data, str):
  			# data like "sub_6lsC8pt7IcFpjA"
  			id_ = data
  		elif data:
  			# data like {"id": sub_6lsC8pt7IcFpjA", ...}
  			id_ = data.get("id")
  		else:
  			id_ = None
  
  		return id_
docs: Extract stripe id from stripe field data
  		:param data:
  		:return: