parameters: (item)
return_statement: return CoreFoundation.CFGetTypeID(item) == expected
docstring: Returns True if a given CFTypeRef is an identity.
docstring_summary: Returns True if a given CFTypeRef is an identity.
docstring_tokens: Returns True if a given CFTypeRef is an identity .
function: def _is_identity(item):
      """
      Returns True if a given CFTypeRef is an identity.
      """
      expected = Security.SecIdentityGetTypeID()
      return CoreFoundation.CFGetTypeID(item) == expected
function_tokens: def _is_identity ( item ) : expected = Security . SecIdentityGetTypeID ( ) return CoreFoundation . CFGetTypeID ( item ) == expected