How to check the coord is in user's viewport?

Hi.
I want to check if the coordinates (longitude and latitude) are visible on the user’s viewport on camera.moveEnd. I solved this problem in the old version of Cesium JS with the Ellipsoidal Occluder API.But it looks like deprecated…