title: Check UITextField focused on XCUITest
body: <p>Is there any way to check a specific UITextField is focused(isFirstResponder) in XCUITest?</p>
  
  <p>I'm currently using the below extension. It works but I believe there are better way to find it.</p>
  
  <pre><code>@available(iOS 9.0, *)
  extension XCUIElement {
      func isTextFieldFirstResponder(application: XCUIApplication) -&gt; Bool {
          return debugDescription.containsString("Keyboard Focused")
      }
  }
  </code></pre>