check succeed or not