isLeftClick

fun MouseEvent.isLeftClick(): Boolean

Convenient method to check if mouse event is left click.