code: def test_bbox_alpha_only_false(mode):
      im = Image.new(mode, (100, 100))
      assert im.getbbox(alpha_only=False) is None
  
      fill_color = [1] * Image.getmodebands(mode)
      fill_color[-1] = 0
      im.paste(tuple(fill_color), (25, 25, 75, 75))
      assert im.getbbox(alpha_only=False) == (25, 25, 75, 75)
  
      assert im.getbbox() is None
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image
  from .helper import hopper
label_desc: Use image node_id 3 for calling a global function with example usage: test_bbox_alpha_only_false(mode) without return types