public synchronized boolean contains(SessionOwner owner){
  checkNotNull(owner);
  return sessions.containsKey(getKey(owner)) || softSessions.containsKey(owner);
}

public synchronized boolean contains ( SessionOwner owner ) { checkNotNull ( owner ) ; return sessions . containsKey ( getKey ( owner ) ) || softSessions . containsKey ( owner ) ; }
get whether a session exists for the given owner .
