ray/release/golden_notebook_tests/workloads/utils/utils.py

5 lines
251 B
Python

def is_anyscale_connect(address: str) -> bool:
"""Returns whether or not the Ray Address points to an Anyscale cluster."""
is_anyscale_connect = address is not None and address.startswith(
"anyscale://")
return is_anyscale_connect