lisa.analysis.tasks: Fix use of membership test for dataframes
Pandas dataframes cannot be tested for membership in a container, since comparison between a dataframe and another object with == returns a dataframe instead of a boolean.
GitLab Maintenance scheduled for Thursday, 18th December 2025, from 7:00 AM to 10:00 AM BST. GitLab will be in read-only mode and experience short periods of complete downtime (up to 20 minutes) during this window.
Pandas dataframes cannot be tested for membership in a container, since comparison between a dataframe and another object with == returns a dataframe instead of a boolean.