code: def replaced_by(self, nid, strict=True):
          
          vs = self._get_basic_property_value(nid, 'IAO:0100001')
          if len(vs) > 1:
              msg = "replaced_by has multiple values: {}".format(vs)
              if strict:
                  raise ValueError(msg)
              else:
                  logger.error(msg)
  
          return vs
docs: Returns value of 'replaced by' (IAO_0100001) property for obsolete nodes
  
          Arguments
          ---------
          nid : str
              Node identifier for entity to be queried
          strict: bool
              If true, raise error if cardinality>1. If false, return list if cardinality>1
  
          Return
          ------
          None if no value set, otherwise returns node id (or list if multiple values, see strict setting)