def is_registered_by_pipeline_id(token: str, pipeline_id: str) -> bool:
    """Get customer settings
    Returns:
        bool: http code is ok
    """

    url = f"{XDR_HOST_URL}/v1.0/preview/ath/oat/dataPipelines/{pipeline_id}"
    headers = get_header(
        {
            "Authorization": f"Bearer {token}",
            "Content-Type": "application/json",
        }
    )
    logger.info(f"Get oat customer setting from multiple config api: {url}.")
    response = requests.get(url, headers=headers)
    logger.info(f"Get oat customer setting response: {response.text}, ")

    if response.status_code == requests.codes.ok:
        return True
    else:
        return False
Get customer settings
    Returns:
        bool: http code is ok
    
Solutions/Trend Micro Vision One/Data Connectors/AzureFunctionTrendMicroXDR/shared_code/services/oat_service.py