checks if confirmation is presetn