Function
m_city.IsHeroInCastle("HeroString")
This is a function performed on HeroBean Objects, returns false if specified hero is not in the castle.
Example
if m_city.IsHeroInCastle("Trebber") goto checkTrebsif the hero named Trebber is in the city then goto the label checkTrebs
see also:

![[+]](/moin_static/explorer/img/toggle1.png)

![[-]](/moin_static/explorer/img/toggle0.png)
