Get all fields in $site that contain the word "gif"

I like to get all images in a foreach from all the fields in the CMS that contain the word “GIF” in the name. So not the files that contain the word, but the fields with that title/id. Is this possible?

What I tried:

<?php $items = $site->filterBy('field','*=' , 'gif')->toFiles(); foreach ($items as $item): ?>
<?php endforeach ?>

Yes i think you can do this by looping over all the pages and using $page->blueprint() which will give you all the fields in that pages blueprint. from there you can seach through to see if one has gif in it.

there is also $page->content() array. but things like structure fields will be plain strings.