code: def check_image_in_spain(glance_url, id, token):
      
      url = glance_url + '/images?property-sdc_aware=true'
      headers = {'Accept': 'application/json', 'X-Auth-Token': token}
  
      try:
          response = requests.get(url, headers=headers)
          response_json = response.json()
          for image in response_json['images']:
              if image['id'] == id:
                  return image['name']
          return None
      except Exception as e:
          raise Exception('Error to obtain a image ' + e.message)
docs: It obtain if the image is in Spain
      :param glance_url: the sdc url
      :param token: the valid token
      :param id: image id