The Fire Marshal, his deputies or any of his assistants may at all hours enter any building or premises within this state for the purpose of making an investigation or inspection which under the provisions of this article he or they may deem necessary to be made.