End A Function Early In Python