Use the same status test as
in this issue β to display a message in layout builder editing/preview mode (not production mode) inside the Book Navigation component when the Book module is not installed: "Enable Book Module."
Display a message in layout builder editing/preview mode (not production) inside the Book Navigation component when the content type layout it is placed on is not of type Book. This message should appear on the content type layouts and individual book node layouts.
Message: "Place Book Navigation on individual Book node layout or Book content type layout.