title: How to check if a Button image is a certain image in tkinter?
body: <p>I want when I click an image button it runs a function and check if the button image is, let's say, equal to <code>img1</code>:</p>
  <p><code>Button</code> code</p>
  <pre><code>b1 = Button(root, image=img1, bd=0, bg='#292424', activebackground='#292424', 
              command=lambda: press(b1))
  </code></pre>