def list(self, which=None):
        if which is not None:
            return self._shortcmd('LIST %s' % which)
        return self._longcmd('LIST')
Does the given str look like an IP address?
dataset/ETHPy150Open babble/babble/include/jython/Lib/poplib.py/POP3.list--crossover with--dataset/ETHPy150Open john-kurkowski/tldextract/tldextract/remote.py/looks_like_ip