code: def without_ffa(
      df: DataFrame, res_col_p: Optional[str] = None
  ) -> DataFrame:
      res_col = (
          AccessAnomalyConfig.default_res_col
          if res_col_p is None
          else res_col_p
      )
      return df.filter(get_department(res_col) != "ffa")
  
imports: import os
  import tempfile
  import unittest
  from typing import Dict, Optional, Set, Type, Union
  from pandas.testing import assert_frame_equal
  from pyspark.sql import DataFrame, types, functions
  from synapse.ml.cyber.feature import indexers
  from synapse.ml.cyber import DataFactory
  from synapse.ml.cyber.anomaly.collaborative_filtering import AccessAnomaly, AccessAnomalyModel, AccessAnomalyConfig, ConnectedComponents, ModelNormalizeTransformer, _UserResourceFeatureVectorMapping
  from synapsemltest.cyber.explain_tester import ExplainTester
  from synapsemltest.spark import *
label_desc: Use image node_id 4 for calling a global function with example usage: without_ffa(df, res_col_p) and returns: df