hasRelations method

bool hasRelations()

Implementation

bool hasRelations() =>
    entities.indexWhere((e) => e.relations.isNotEmpty) != -1;