Toggle Function In Python With Parameters For Holding