(item)
return CoreFoundation.CFGetTypeID(item) == expected
Returns True if a given CFTypeRef is an identity.
Returns True if a given CFTypeRef is an identity.
Returns True if a given CFTypeRef is an identity .
def _is_identity(item):
    """
    Returns True if a given CFTypeRef is an identity.
    """
    expected = Security.SecIdentityGetTypeID()
    return CoreFoundation.CFGetTypeID(item) == expected
def _is_identity ( item ) : expected = Security . SecIdentityGetTypeID ( ) return CoreFoundation . CFGetTypeID ( item ) == expected