protected function hasAllSegments()
    {
        $segments = explode('|', $this->recaller);

        return count($segments) === 3 && trim($segments[0]) !== '' && trim($segments[1]) !== '';
    }
protected function hasAllSegments()
    {
        $segments = explode('|', $this->recaller);

        return count($segments) === 3 && trim($segments[0]) !== '' && trim($segments[1]) !== '';
    }
protected function hasAllSegments ( ) { $ segments = explode ( '|' , $ this -> recaller ) ; return count ( $ segments ) === 3 && trim ( $ segments [ 0 ] ) !== '' && trim ( $ segments [ 1 ] ) !== '' ; }
Determine if the recaller has all segments.

@return bool
Determine if the recaller has all segments .