Different makers have different methods of preventing light from getting a second chance at exposing the emulsion. Roll film often has a dye on the back as the base if thin, and would not stop much light unless VERY dark. Many films have dye, or other materials just under the emulion, (sometimes refered to as AHU) colur materials can have a silver layer as it will come out in the bleach, as do some B&W reversal materials. (if they do - they cannot be processed as a negative)
The older style EFKE films (25/50/100) are the most common ones to have a dye backing in 35mm, which shows as a purple colour on the undeveloped film.
The data sheet for the film will often describe if the base has a tint.
Materials for positives often omit the tint.