def verify_sans(amazon_cert: crypto.X509) -> bool:
cert_extentions = [amazon_cert.get_extension(i) for i in range(amazon_cert.get_extension_count())]<EOL>subject_alt_names = '<STR_LIT>'<EOL>for extention in cert_extentions:<EOL><INDENT>if '<STR_LIT>' in str(extention.get_short_name()):<EOL><INDENT>subject_alt_names = extention.__str__()<EOL>break<EOL><DEDENT><DEDENT>result = '<STR_LIT>' in subject_alt_names<EOL>return result<EOL>
Verifies Subject Alternative Names (SANs) for Amazon certificate.

    Args:
        amazon_cert: Pycrypto X509 Amazon certificate.

    Returns:
        result: True if verification was successful, False if not.