Not sure, it might just be leftover from an earlier bit of code. I might have had the whole thing within an if-block previously but then removed the check later.