function
m_city.IsHeroInCastle("HeroString")
This is a function performed on HeroBean Objects
http://guide.neatportal.com/wiki/HeroBean