Implement the RunnableOnce->hasRun method