     func checkForFirstCellTextField() {
         
         // Don't do anything if viewWillDisappear was called
-        guard isViewDisappearing == false else { return }
+        guard isVisible else { return }
         
         // If the first row in our tableView has a textField, we want it to become the first responder
         // automatically. So, first see if our first row has a textField.

    // We use a flag to track whether viewWillDisappear has been called because we run a check on
    // viewDidAppear to see if we have any textFields in the tableView. This check is done after a delay,
    // so we need to track if viewWillDisappear was called during the delay
    var isViewDisappearing = false
    
    var tableViewInsetBottom: CGFloat {
        get {

        }
        
        // reset our flag that tracks whether viewWillDisappear was called
        isVisible = true
    }
    
    override open func viewDidAppear(_ animated: Bool) {
