Returns True if there exists a custom image for app_id.

def has_custom_image(user_context, app_id):
  """Returns True if there exists a custom image for app_id."""
  possible_paths = _valid_custom_image_paths(user_context, app_id)
  return any(map(os.path.exists, possible_paths))