# File widget.rb, line 150
  def hasFocus? #do not modify
    if $window.hasFocus == self
      return true 
    else
      return false
    end
  end