Sure.
Something like:
pip install badkeys
badkeys -U
badkeys [path_to_your_mail_server_crt_file]
Or, if you were asking about dkim, something like:
badkeys -a --dkim-dns 20260707._domainkey.google.com
(-a will give you an output whenever it's found any key, otherwise, it'll be silent if it didn't find anything)
Or, if you were asking about dkim, something like:
badkeys -a --dkim-dns 20260707._domainkey.google.com
(-a will give you an output whenever it's found any key, otherwise, it'll be silent if it didn't find anything)