Update validate.py

Syntax error in add requirements conditional.

Sets don't need to be instantiated with empty lists.