Add hasFocus method
[placeholder addon] Add