isDoubleClick

fun MouseEvent.isDoubleClick(): Boolean

Convenient method to check if mouse event is double click.