Added logic to model to state whether a defense should be visible