Seems as though
if not mylist[1]: return False
Doesn\'t work.
In the EAFP style of Python:
try: mylist[1] except IndexError: print "Index doesn't exist!"