How to determinate is agent is hidden?

How to determinate if Agent is hidden from another Java agent? There are methods getTarget() and getTrigger() but I couldn’t find hidden agents.

Subject: How to determinate is agent is hidden?

Do you know that hidden means “do not show in the menu” nothing more? Agents are not hidden from other agents, unless you are talking about personal agents. Those are not hidden, just not available to anyone but the person who creted them. Hidden agents have parenthesis around their names, that’s how you tell them apart from the ones that are not hidden.

Subject: RE: How to determinate is agent is hidden?

Good, I want exactly that, to find which agents are not shown in menu. getName() method does not return parenthesis so I can’t find which agents are really hidden for users.