def METHOD_NAME(self, user_name):
    tokenEntity = TokenEntity()
    tokenEntity.setDn(self.staticConfiguration.getBaseDn().getClients())
    tokenEntity.setUserId(user_name)
    tokenEntityList = self.entryManager.findEntries(tokenEntity, 1)
    print "Basic (one session). isFirstSession. Get result: '%s'" % tokenEntityList
    if (tokenEntityList != None) and (tokenEntityList.size() > 0):
        print "Basic (one session). isFirstSession: False"
        return False
    print "Basic (one session). isFirstSession: True"
    return True