flake8
wrote tests for is_sub_to_any filtering