Returns true if the calling thread is the JavaFX Application Thread. Use this call the ensure that a given task is being executed (or not being executed) on the JavaFX Application Thread.
Returns: true if running on the JavaFX Application Thread
Diagram: Platform