nl: for every tag in tags, are false, for every tag in tags, if return value of the method checks.tag_exists called with an argument tag, evaluates to false,
code: invalid_tag = next ( tag for tag in tags if not checks . tag_exists ( tag ) )