Is there a way to find out if the icon that I placed in the system tray via an API call is still there?

If not

Is there a way to find out if the system tray is there?