added convenience function for determining if a building is a mine