existUser method

bool existUser(
  1. String userId
)

Checks if a user with the given ID has active sessions.

Implementation

bool existUser(String userId) {
  return _users.containsKey(userId);
}