Assuming getStat returns a boolean, yes.