input: Write a function to edit the following Python program to make a correct API request with authorization headers and parse the response. If the API response contains a JSON object with a 'data' key, iterate over and print each user. If the API response does not contain a 'data' key, return False. If no response is received, return False.
  Edit the following program:
  import requests
  
  url = 'https://api.example.com/users'
  
  response = requests.get(url)
  
  print(response.json())
  
  assert (EditApiRequest('https://api.example.com/users', {'Authorization': 'Bearer YOUR_API_TOKEN', 'Content-Type': 'application/json'}), == {
   "data": [
   { "id": 1, "name": "John" },
   { "id": 2, "name": "Jane" }
   ]
   }) == True
  
  assert (EditApiRequest('https://api.example.com/users', {'Authorization': 'Bearer INVALID_TOKEN', 'Content-Type': 'application/json'}), == {
   "error": "Invalid token"
   }) == False
  
  assert (EditApiRequest('https://api.example.com/users', {'Authorization': 'Bearer INVALID_TOKEN', 'Content-Type': 'application/json'})) == False
  
  assert (EditApiRequest('https://api.example.com/users')) == False
output: def EditApiRequest(url, headers=None):
      response = requests.get(url, headers=headers)
      if response.status_code != 200:
          return False
      try:
          data = response.json()
          if 'data' in data:
              for user in data['data']:
                  print(user)
              return True
          else:
              return False
      except:
          return False