code: def conflicts_with(self, other):
          
          if isinstance(other, Requirement):
              if (self.name_ != other.name_) or (self.range is None) \
                      or (other.range is None):
                  return False
              elif self.conflict:
                  return False if other.conflict \
                      else self.range_.issuperset(other.range_)
              elif other.conflict:
                  return other.range_.issuperset(self.range_)
              else:
                  return not self.range_.intersects(other.range_)
          else:  # VersionedObject
              if (self.name_ != other.name_) or (self.range is None):
                  return False
              if self.conflict:
                  return (other.version_ in self.range_)
              else:
                  return (other.version_ not in self.range_)
docs: Returns True if this requirement conflicts with another `Requirement`
          or `VersionedObject`.