code: def validate_satisfied_by(self, obj):
      
  
      if self.satisfied_by(obj):
        return obj
  
      raise self.make_type_constraint_error(obj, self)
docs: Return `obj` if the object satisfies this type constraint, or raise.
  
      :raises: `TypeConstraintError` if `obj` does not satisfy the constraint.