Yes. Burglary is being somewhere you are not supposed to be with the intent to commit any crime therein. That includes all crimes, not just a larceny.