code: def test_fy5253qtr_onoffset_last():
      # GH#19036
      offset = FY5253Quarter(
          n=-2,
          qtr_with_extra_week=1,
          startingMonth=7,
          variation="last",
          weekday=2,
      )
      ts = Timestamp(
          "2011-01-26 19:03:40.331096129+0200", tz="Africa/Windhoek"
      )
      slow = (ts + offset) - offset == ts
      fast = offset.is_on_offset(ts)
      assert fast == slow
  
imports: from datetime import datetime
  from dateutil.relativedelta import relativedelta
  import pytest
  from pandas import Timestamp
  import pandas._testing
  from pandas.tests.tseries.offsets.common import WeekDay, assert_is_on_offset, assert_offset_equal
  from pandas.tseries.offsets import FY5253, FY5253Quarter
label_desc: Use image node_id 10 for calling a global function with example usage: test_fy5253qtr_onoffset_last() without return types