code: def _has_non_fixed_frequency(freq: DateOffset) -> bool:
      """Utility to determine if `freq` contains non-fixed frequency offset"""
      non_fixed_frequencies = {"years", "months"}
      return len(freq.kwds.keys() & non_fixed_frequencies) > 0
  
imports: import math
  import re
  import warnings
  from typing import Sequence, Union
  import cupy
  import numpy
  import pandas
  import pandas.tseries.offsets
  from pandas.core.tools.datetimes import _unit_map
  from typing_extensions import Self
  import cudf
  from cudf import _lib
  from cudf._lib.strings.convert.convert_integers import is_integer
  from cudf.api.types import is_integer, is_scalar
  from cudf.core import column
  from cudf.core.index import as_index
label_desc: Use image node_id 7 for calling a global function with example usage: _has_non_fixed_frequency(freq) and returns: unknown