/// <summary> /// Returns whether the provided InGameState fulfills this PreviousStratProperty element. /// </summary> /// <param name="inGameState">The in-game state to evaluate</param> /// <param name="usePreviousRoom">If true, uses the last known room state at the previous room instead of the current room to answer /// <returns></returns> public bool IsFulfilled(InGameState inGameState, bool usePreviousRoom) { return(inGameState.GetLastStrat(usePreviousRoom)?.StratProperties?.Contains(Value) == true); }