3.7 hasFocus

D2Editor:hasFocus()

Returns true if the editor has focus; otherwise returns false.

Introduced in platform.apiLevel = '2.0'