Is None a standard way to return in python when things go south?