code: def bn_before_weight(self):
      for op in self.ops_list:
          if op == "bn":
              return True
          elif op == "weight":
              return False
      raise ValueError(f"Invalid ops_order: {self.ops_order}")
  
imports: from collections import OrderedDict
  from nni.retiarii.serializer import basic_unit
  import torch
  import nni.retiarii.nn.pytorch
  from putils import get_same_padding, build_activation
label_desc: Use image node_id 3 for calling the Base2DLayer obj's underlying member method code with example usage: obj.bn_before_weight() and returns: True, False