Php If Variable Not Defined Python Documentation