This painting is much earlier than Shakespeare, and so we have no idea if Shakespeare would have seen this, if they were both referring to a common source, or if there's any relationship whatsoever; but it's very tantalizing. 