I have tried reading the docs but couldn't get a clear answer.
Is
id(a) == id(b)
the same as
a is b
Likewise is
import unittest
unittest.TestCase.assertNotEqual(id(a), id(b))
therefore the same as
import unittest
unittest.TestCase.assertIsNot(a, b)