In "Elements of Set theory" by Enderton 54~55p
We can form something like the Cartesian product of infinitely many sets, provided that the sets are suitably indexed. More specifically, let $I$ be a set (which we will refer to as the index set) and let $H$ be a function whose domain includes $I$. Then for each $i$ in $I$ we have the set $H(i)$; we want the product of the $H(i)$'s for all $i \in I$. We define: $$X_{i\in I} H(i) = \{f\;|\; f \;\text{is a function with domain}\; I \;\text{and}\; (\forall i\in I)f(i)\in H(i)\}.$$
Axiom of Choice $\;$(second form) $\;$For any set $I$ and any function $H$ with domain $I$, if $H(i) \not =\emptyset$ for all $i$ in $I$, then $X_{i\in I} H(i) \not = \emptyset$.
The axiom has the form $\forall i\in I$, if $p(i)$ then $q(i) \iff \forall i$, if $i\in I$ then $(\text{if}\; p(i)\;\text{then}\; q(i))$. In particular, the statement is vacuously true when $I = \emptyset$. Is it necessary that we have this vacuously true part in the axiom?