code: def my_pre_call_rule(input: str):
      print(f"input: {input}")
      print(f"INSIDE MY PRE CALL RULE, len(input) - {len(input)}")
      if len(input) > 10:
          return False
      return True
  
file_path: litellm/litellm/tests/test_rules.py
imports: import sys, os, time
  import traceback, asyncio
  import pytest
  import litellm
  from litellm import completion, acompletion
label_desc: Use image node_id 1 for calling a global function with example usage: my_pre_call_rule(input) and returns: True, False