def METHOD_NAME(*args: Any) -> bool:
    """
    Return the configuration setting
    if search sql is enabled as
    CKAN__DATASTORE__SQLSEARCH__ENABLED
    """
    try:
        config = tk.config.get('ckan.datastore.sqlsearch.enabled', False)
        return tk.asbool(config)
    except (tk.ObjectNotFound, tk.NotAuthorized):
        return False