def can_talk_to_agent():
 return bool(_get_pageant_window_object())

def can_talk_to_agent ( ) : return bool ( _get_pageant_window_object ( ) )
check to see if there is a "pageant" agent we can talk to .