Checking if Server is running

Hi, I want to check whether the server is running or not for Notes. Please suggest some API calls.

Thanks