Python Function Return A Value Instead Of True