Everything except the Mac line has a locked boot process. So your iPhone or iPad must run the latest iOS, must have an Apple ID, must source apps from Apple, and Apple has gotten so good at securing their devices that its basically killed hobbyist jailbreaking.
Anything you do on these multi thousand dollar devices is only because Apple allows you to— reluctantly, I might add.
There probably isn’t an automated solution for this, but you could just get the SHA checksum of your BIOS dumps and compare them to others’ checksums on the internet.
As for how, well, you can use the shasum command in the terminal on linux. for windows, powershell has get-filehash. and 7zip for windows has a checksumming function as well.