Check if historyApi is set