hasDevice property

bool hasDevice

Implementation

bool get hasDevice => device != null;