code: def test_bool(tmpdir, runner):
      """Check on issue #2401"""
      outfile = str(tmpdir.join("out.tif"))
      result = runner.invoke(
          main_group,
          ["calc"]
          + [
              "(>= (read 1 1) 127)",
              "-t",
              "uint8",
              "--masked",
              "--profile",
              "nodata=255",
              "tests/data/RGB.byte.tif",
              outfile,
          ],
          catch_exceptions=False,
      )
      assert result.exit_code == 0
      with rasterio.open(outfile) as src:
          assert (src.read() == 255).any()
  
file_path: rasterio/tests/test_rio_calc.py
imports: import pytest
  import rasterio
  from rasterio.rio.calc import _chunk_output
  from rasterio.rio.main import main_group
label_desc: Use image node_id 14 for calling a global function with example usage: test_bool(tmpdir, runner) without return types