D2Editor:hasFocus()
Returns true if the editor has focus; otherwise returns false.
Introduced in platform.apiLevel = '2.0'
Send feedback to the eGuide Team