Whoever has in possession any device, explosive, or other instrumentality with intent to use or permit the use of the same to commit burglary or theft may be sentenced to imprisonment for not more than three years or to payment of a fine of not more than $5,000, or both.