InternetAddressList.contains

Checks whether or not the specified #InternetAddress is contained within the #InternetAddressList.

class InternetAddressList
bool
contains

Parameters

ia gmime.internet_address.InternetAddress

a #InternetAddress

Return Value

Type: bool

true if the specified #InternetAddress is contained within the specified #InternetAddressList or false otherwise.