code: def arrlen(obj: Any) -> int | None:
      """Return length of (non-string) sequence object; returns None for non-sequences."""
      try:
          return None if isinstance(obj, str) else len(obj)
      except TypeError:
          return None
  
imports: from __future__ import annotations
  import inspect
  import os
  import re
  import sys
  import warnings
  from collections.abc import MappingView, Sized
  from enum import Enum
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Generator, Iterable, Literal, Sequence, TypeVar
  import polars
  from polars import functions
  from polars.datatypes import FLOAT_DTYPES, INTEGER_DTYPES, Boolean, Date, Datetime, Decimal, Duration, Int64, String, Time
  from polars.dependencies import _check_for_numpy
  from polars.dependencies import numpy
label_desc: Use image node_id 15 for calling a global function with example usage: arrlen(obj) and returns: unknown, None