input: Write a function to generate an API response in Python based on the provided data. The function should return a dictionary with 'status', 'data', and 'message' fields. If the data is empty, the function should return a response with a '404' status and a 'Not Found' message.
  assert generate_api_response({"name" : "John", "age" : 28})=={"status": 200, "data": {"name": "John", "age": 28}, "message": "Success"}
  assert generate_api_response({})=={"status": 404, "data": {}, "message": "Not Found"}
output: def generate_api_response(data):
      if not data:
          return {"status": 404, "data": {}, "message": "Not Found"}
      else:
          return {"status": 200, "data": data, "message": "Success"}