Safety check that the layout exist before we try to apply it