Yes it is, but stating that fact, doesn't resolve it. We are actively attempting to prevent Iran from getting nukes.
The point remains...possessing Nukes is a factor in our thinking when considering militarily engagements against these countries.
Why wouldn't it be? It seems foolish to not have this as a consideration and as a moderating factor in our responses to them.