#NEWLINE# def test_exists( self ) : #NEWLINE# #INDENT# with self . assertNumQueries ( 2 ) : #NEWLINE# #INDENT# qs = Book . objects . prefetch_related ( 'first_time_authors' ) #NEWLINE# [ b . first_time_authors . exists ( ) for b in b ]