If the condition of any building or the land on which a building was or is being or is to be erected or any
earthwork is such that it is dangerous to life or property, the owner of such building, land or earthwork shall forthwith notify the local authority in question thereof.