def lookupSenderPolicy(name, timeout=None):
 return getResolver().lookupSenderPolicy(name, timeout)

def lookupSenderPolicy ( name , timeout = None ) : return getResolver ( ) . lookupSenderPolicy ( name , timeout )
perform a spf record lookup .