def METHOD_NAME(self, bucket: Bucket):
    if self.current_run_prefix and bucket.name.startswith(self.current_run_prefix):
        return True
    if self.dont_cleanup_old_buckets:
        return False
    if bucket.name.startswith(GENERAL_BUCKET_NAME_PREFIX):
        if BUCKET_CREATED_AT_MILLIS in bucket.bucket_info:
            if int(bucket.bucket_info[BUCKET_CREATED_AT_MILLIS]
                  ) < current_time_millis() - ONE_HOUR_MILLIS:
                return True
    return False