You can define by yourself whether the user gets displayed the layer in the table of contents.
Check in the checkbox (default):
If the checkbox is not checked the TOC will be hidden in the map.