Agreed, its not expensive, but I imagined this method to be called frequently, so decided to cache it. I am fine with removing the variable as well.