difference between "==" and "is"

i have been using “is” for my code, when reading boolean variables with True and False like this

as opposed to this

maybe “==” and “is” are not too different here, but what about other situations?

Why do you double-post?
discourse.panda3d.org/viewtopic.php?t=8280