`return label.isOffline();`. As it returns in all cases, no need to use `else`.