If the outermost shell of an atom contains 4 electrons, it is said to be in the octet state.
The given statement is false.
An atom whose outermost shell contains 8 electrons is said to be in the octet state and the atom which has 2 electrons in its outermost shell is in the duplet state.
For example Neon (Ne) has the atomic number 10. it has completely filled two shells. Its electronic configuration is 2,8. Hence, it is in an octet state.
Fluorine (F) has atomic number 9. Its electronic configuration is 2,7. Hence it is not in octet state.