input: Write a function to edit and extend the provided Python program so that it correctly makes an API request using appropriate headers and parses the response to print each user data. If the response is empty, simply return without performing any further actions.
  assert edit_api_request("https://api.example.com/users", "Bearer YOUR_API_TOKEN")==True
  assert edit_api_request("https://api.emptyresponse.com/users", "Bearer ANOTHER_TOKEN")==True
  assert edit_api_request("", "Bearer INVALID_TOKEN")==False
  assert edit_api_request("https://api.unauthorized.com/users", "Bearer WRONG_TOKEN")==False
  assert edit_api_request("https://api.example.com/users", "")==False
output: def edit_api_request(url, token):
      import requests
      headers = {'Authorization': token}
      try:
          response = requests.get(url, headers=headers)
          response.raise_for_status()
          users = response.json()
          if users:
              for user in users:
                  print(user)
          return True
      except (requests.exceptions.RequestException, ValueError):
          return False