title: How to check if something is drawn on canvas
body: <p>How do I check if there is data or something drawn on a canvas?</p>
  
  <p>I have this <code>&lt;canvas id="my-canvas"&gt;&lt;/canvas&gt;</code> element, and I want to check if my canvas has something drawn on it.</p>