input: Write a function to generate an API response in Python for the provided data. The function should return a dictionary with the status code, the original data, and a message describing the success of the operation. If the input data is an empty dictionary, the function should return a response with a status code of 204 and a message indicating that no content was provided.
  assert generate_api_response({"name": "John", "age": 28}) == {"status": 200, "data": {"name": "John", "age": 28}, "message": "Success"}
  assert generate_api_response({}) == {"status": 204, "data": {}, "message": "No content provided"}
output: def generate_api_response(data):
      if not data:
          return {"status": 204, "data": {}, "message": "No content provided"}
      else:
          return {"status": 200, "data": data, "message": "Success"}