return 1 unless $flag; ... if $HAS_FOCUS;