return 1 unless ($flag // 0); ... if $HAS_FOCUS // '';