def METHOD_NAME() -> Optional[bool]:
    api_services = ApiregistrationV1Api().list_api_service().items
    metrics_server_apiservices = [
        apiservice
        for apiservice in api_services
        # sometimes name can be versioned like metrics-server-v0.4.5
        if apiservice.spec.service and "metrics-server" in apiservice.spec.service.name
    ]
    return len(metrics_server_apiservices) > 0