Labels on bar plots

So one thing I notice from a slight performance standpoint is that essentially this function should return after this statement, but alas it doesn't.  Continues to iterate through.

Would it better to check/set this instance variable in a different call or just put this call in a different API to have clarity in what's pure in what regard?