lisa.trace: Fix typo in has_events() leading to returning True
When a list of events is checked, has_events() would always return True. Fix the typo so it checks the events that were asked for.
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.
When a list of events is checked, has_events() would always return True. Fix the typo so it checks the events that were asked for.