How to verify whether android keyboard is displayed or not?

I am using nodejs

For iOS i am checking whether xpath("//UIAKeyboard") is displayed or not

is there any similar way to verify keyboard in android??