Adding isSoftKeyboardPresent method

related to Issue  #2021 in appium to hide keyboard only when it is present on the screen