def METHOD_NAME(nodes: List[Node], identifier: str) -> bool:
    node = nodes[0]
    try:
        provider_id = node.spec.providerID
        return identifier in provider_id
    except (AttributeError, TypeError):
        # is not aks, field is optional so could be missing
        return False