code: def test_prepare_nql_query():
      query = prepare_nql_query(
          ["id1", "id2"],
          ["active"],
          ["owner1", "owner2"],
          ["tag1", "tag2"],
          trashed=True,
      )
      assert len(query.items) == 5
  
      query = prepare_nql_query(
          ["id1", "id2"],
          ["active"],
          ["owner1", "owner2"],
          ["tag1", "tag2"],
          trashed=None,
      )
      assert len(query.items) == 4
  
      query = prepare_nql_query(
          None,
          None,
          None,
          None,
          trashed=None,
      )
      assert len(query.items) == 0
  
imports: import os
  import unittest
  from mock import patch
  from neptune import ANONYMOUS_API_TOKEN, init_project
  from neptune.common.exceptions import NeptuneException
  from neptune.common.warnings import NeptuneWarning, warned_once
  from neptune.envs import API_TOKEN_ENV_NAME, PROJECT_ENV_NAME
  from neptune.exceptions import NeptuneMissingProjectNameException
  from neptune.internal.backends.api_model import Attribute, AttributeType, IntAttribute
  from neptune.internal.backends.neptune_backend_mock import NeptuneBackendMock
  from neptune.metadata_containers.utils import prepare_nql_query
  from tests.unit.neptune.new.client.abstract_experiment_test_mixin import AbstractExperimentTestMixin
label_desc: Use image node_id 1 for calling a global function with example usage: test_prepare_nql_query() without return types