code: def has_python_api(version):
      """Whether the python api exist in given version"""
      return version not in ["0.1.6", "0.1.7"]
  
imports: import os
  import shutil
  import subprocess
  import pytest
  from pymongo import MongoClient
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.client import create_experiment
  from orion.core.io.database import database_factory
  from orion.storage.base import storage_factory
label_desc: Use image node_id 4 for calling a global function with example usage: has_python_api(version) and returns: unknown