Spy movies/ books: On topic?
House, M.D. is clearly neither science fiction nor fantasy (even though this io9 article begs to differ), but some individual episodes have science fiction sub-plots.
In one episode, for instance, the team records a patient's brain activity to visual stimuli for several hours in order to reconstruct an image she is seeing in her mind. And occasionally, there are cases of medical Forgotten Phlebotinum.
To ask the question more broadly: are science fiction and fantasy sub-plots / story arcs / episodes of non-sf-and-f works on topic? How does one decide?