def isNick(self, s):
        kw = {}
        if 'nicklen' in self.state.supported:
            kw['nicklen'] = self.state.supported['nicklen']
        return ircutils.isNick(s, **kw)

    # This *isn't* threadsafe!
dataset/ETHPy150Open ProgVal/Limnoria/src/irclib.py/Irc.isNick/original