@classmethod
    def has_metrics(cls, slug):
        if cls._slug_sessions in slug:
            return True

        folder_name = cls.get_folder_name(slug)
        if isdir(folder_name):
            for f in listdir(folder_name):
                if f.endswith('.json'):
                    return True
        return False
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/metrics.py/MetricsSession.has_metrics/swapped operands of `in`