class_docstr: Defines a Bin specified by a half-open interval [left_end, right_end) where the sub-score is calculated using
  a linear function of the feature value (requires the feature to evaluate to a numerical value).
docstr: Returns true if left_end <= feature_value < right_end for the given variable assignment.
  
  @param assignment: dict mapping variable name to value
  @return: bool True if the feature value belongs to the bin and False otherwise
docstr_tok: ["Returns","true","if","left_end","<","=","feature_value","<","right_end","for","the","given","variable","assignment",".","@","param","assignment",":","dict","mapping","variable","name","to","value","@","return",":","bool","True","if","the","feature","value","belongs","to","the","bin","and","False","otherwise"]
code: def contains(self, assignment: Dict[str, Any]) -> bool:
      """
      Returns true if left_end <= feature_value < right_end for the given variable assignment.
  
      @param assignment: dict mapping variable name to value
      @return: bool True if the feature value belongs to the bin and False otherwise
      """
      return (
          self.left_end
          <= self._get_feature_value(assignment)
          < self.right_end
      )
  
imports: import abc
  from numbers import Real
  from typing import Dict, Set, Any, Optional
  from aix360.algorithms.rule_induction.trxf.core import Feature
label_desc: Use image node_id 3 for calling the LinearIntervalBin obj's underlying member method code with example usage: obj.contains(assignment) and returns: unknown