private function LookForExistingURLSegment($URLSegment)
    {
        return (News::get()
                ->filter(array('URLSegment' => $URLSegment))
                ->exclude(array('ID' => $this->ID))
                ->count() !== 0);
    }
private function LookForExistingURLSegment($URLSegment)
    {
        return (News::get()
                ->filter(array('URLSegment' => $URLSegment))
                ->exclude(array('ID' => $this->ID))
                ->count() !== 0);
    }
private function LookForExistingURLSegment ( $ URLSegment ) { return ( News :: get ( ) -> filter ( array ( 'URLSegment' => $ URLSegment ) ) -> exclude ( array ( 'ID' => $ this -> ID ) ) -> count ( ) !== 0 ) ; }
test whether the URLSegment exists already on another Newsitem

@param string $URLSegment chosen URLSegment

@return boolean URLSegment already exists yes or no.
test whether the URLSegment exists already on another Newsitem