Instead of:
{{if production_country != null || production_year != null}}
Use:
{{if production_country !="" OR production_year !=""}}
I am unsure from your question if you need to determine the values of production_country and production_year. eg production_year.value!=""
see this question: