hasForeground property

bool get hasForeground

Implementation

bool get hasForeground => foreground != null;