(a) go on board any ship and inspect such ship or any part of the ship, or any of the machinery, boats, equipment or articles on board to which the provisions of this Act or any regulations or statutory instrument made hereunder apply, so, however, that the ship shall not be unnecessarily detained or delayed from sailing;