I'm a beginner as well and just opened an stackoverflow account but as mentioned above since the var is true at the if condition to make the code more readable we could just check the condition like this:
if(whoisplaying)
which means the same as - just wanted to write something i hope you guys don't mind
if(whoisplaying = true)