Yes:
A. An author writes about a real-life scientist and how he discovered penicillin by accident in the 1920s.
No:
B. An author writes about two fictional brothers who go to California during the Gold Rush in the 1800s.
C. An author writes about a scientist who invents a time travel device and goes to prehistoric times.
D. An author writes about two sisters who work together to create a brand-new social media platform.