code: protected void checkQuickSearchStatus() {
  
          if ((m_quickSearch != null) && (m_searchButton != null)) {
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_quickSearch.getFormValueAsString())) {
                  m_searchButton.enable();
              } else {
                  m_searchButton.disable("Enter a search query");
              }
          }
      }
docs: Checks the quick search input and enables/disables the search button accordingly.<p>