How can I verify WordPress nonce from the following code?

How can I verify WordPress nonce from the following code?