hasRole property

bool get hasRole

Implementation

bool get hasRole => role != null;