Checking if GameObject is rendered by specific camera

Everything is in the title. I need something like this:

MyGameObject.renderer.isVisible(myCamera);

But of course that is not the way to do this.

The answer to this question has few methods to achieve the thing you want: How can I know if a gameObject is ‘seen’ by a particular camera?