Refactoring: extraction of Person.ifActorIsActiveF function.