bool isJoined(String userId, List<String> joined) { for (final i in joined) { if (i == userId) { return true; } } return false; }