bool hasInterfaces

Source

bool get hasInterfaces => interfaces.isNotEmpty;