code: def equals(self, other: Any) -> bool:
      return (
          isinstance(other, NasBench101CellConstraint)
          and self.label == other.label
          and self.max_num_edges == other.max_num_edges
          and self.num_nodes.equals(other.num_nodes)
          and _mutable_equal(self.operations, other.operations)
          and _mutable_equal(self.inputs, other.inputs)
      )
  
imports: import logging
  from collections import OrderedDict
  from typing import Callable, List, Optional, Union, Dict, Tuple, Callable, Iterable, Any, cast
  import numpy
  import torch
  import torch.nn
  from nni.mutable import Constraint, Categorical, CategoricalMultiple, Constraint, ConstraintViolation, Mutable, LabeledMutable, Sample, SampleValidationError, auto_label, label_scope
  from nni.mutable.mutable import _mutable_equal
  from nni.nas.nn.pytorch import InputChoice, LayerChoice, MutableModule
label_desc: Use image node_id 2 for calling the NasBench101CellConstraint obj's underlying member method code with example usage: obj.equals(other) and returns: unknown