Compliance with this part is determined in light of the facts and circumstances existing at the time a decision is made or action is taken, and not by hindsight.