If the value of multiple is a string or number it will evaluate to true.  By comparing it with true , I require the value of multiple to be true.  This makes it safer for when people are trying to use this functionality.