public bool IsValid()
 {
     return(this.actor != null && behaviorSystem.HasBrain(this.actor.GetBrainName()));
 }