I got it..if( have_posts() ) it’s in file content-extensions.php in library/structure folder.
if( have_posts() )
content-extensions.php
library/structure