(item)
return CoreFoundation.CFGetTypeID(item) == expected
Returns True if a given CFTypeRef is a certificate.
Returns True if a given CFTypeRef is a certificate.
Returns True if a given CFTypeRef is a certificate .
def _is_cert(item):
    """
    Returns True if a given CFTypeRef is a certificate.
    """
    expected = Security.SecCertificateGetTypeID()
    return CoreFoundation.CFGetTypeID(item) == expected
def _is_cert ( item ) : expected = Security . SecCertificateGetTypeID ( ) return CoreFoundation . CFGetTypeID ( item ) == expected