def get_contests_data():
  """Gets all the data for all the contests"""
  req = requests.get(BASE_URL)

  if req.status_code is requests.codes.ok:
    return req.json()
  else:
    click.secho("Couldn't get the data", fg="red", bold=True)
    click.secho("Exiting...", fg="red", bold=True)
    sys.exit()
dataset/ETHPy150Open architv/chcli/challenges/cli.py/get_contests_data/operator `==` -> `is`