title: How to programaticly check with swift if keyboard is visible in ios app
body: <p>In my app, I have a table view with text labels inside.
  When a user presses on one of the text labels, the keyboard is shown,
  but each time the table is reloading, the keyboard disappears.
  I want to add a check (when the table is reloading) to see if the keyboard is up, 
  and if so , then to make it visible again after reloading is finished.
  My question is - how can I check if the keyboard is visible?
  any help will be appreciated.
  thanks</p>