hasEvent property

bool get hasEvent

Implementation

bool get hasEvent => event != null;