Mechanize succeful login
===

How indicate succeful login?

`def is_logged_in(page_text):
    return login_url in page_text

if  not is_logged_in(result_page.read()):
        print "Bad"
        exit(1)
    else:
        print "Good"`

This don't work... What's wrong? 