Ha ha, by such a rule, `copy` would be a third-party library! =P

The answer, though, is no: you have to know whether libraries are standard or third-party.  The standard libraries should all be here, https://docs.python.org/2/library/index.html, I think.    Note that `dateutil` is not a standard library.