Deleting unsuccessful node registery

Greetings Profesionals,

So far i have registered like 400+nodes to chef server , among those there are some failures and i had to register them again and so while doing the bootstrap even though the particular node which failed while bootstrapping when i try them to register again it shows me a message : “exists, overwrite it? (Y/N)”… is there any command which specifically shows the failed nodes or missing nodes …

for Example like in “git” we can see the un tracked jobs similarly do we have any utility to avoid this

Please help