def conflicts_with(self, other):
if isinstance(other, Requirement):<EOL><INDENT>if (self.name_ != other.name_) or (self.range is None)or (other.range is None):<EOL><INDENT>return False<EOL><DEDENT>elif self.conflict:<EOL><INDENT>return False if other.conflictelse self.range_.issuperset(other.range_)<EOL><DEDENT>elif other.conflict:<EOL><INDENT>return other.range_.issuperset(self.range_)<EOL><DEDENT>else:<EOL><INDENT>return not self.range_.intersects(other.range_)<EOL><DEDENT><DEDENT>else:  <EOL><INDENT>if (self.name_ != other.name_) or (self.range is None):<EOL><INDENT>return False<EOL><DEDENT>if self.conflict:<EOL><INDENT>return (other.version_ in self.range_)<EOL><DEDENT>else:<EOL><INDENT>return (other.version_ not in self.range_)<EOL><DEDENT><DEDENT>
Returns True if this requirement conflicts with another `Requirement`
        or `VersionedObject`.