I could have done:

````if x in utils.plugins.module_finder or ('dynamic_module' in ds and x != 'dynamic_module' and x not in Task.VALID_KEYS and not x.startswith("with_")):````

But felt that was a hideous if statement to grok