You could check if it has a ISO 9660 filesystem. I *think* all ISOs will use that filesystem. The ```file``` command can definitely perform this check.