public function isSortedByGeoDistance(): bool
    {
        foreach ($this->sortsBy as $sortBy) {
            if (self::TYPE_DISTANCE === $sortBy['type']) {
                return true;
            }
        }

        return false;
    }
public function isSortedByGeoDistance(): bool
    {
        foreach ($this->sortsBy as $sortBy) {
            if (self::TYPE_DISTANCE === $sortBy['type']) {
                return true;
            }
        }

        return false;
    }
public function isSortedByGeoDistance ( ) : bool { foreach ( $ this -> sortsBy as $ sortBy ) { if ( self :: TYPE_DISTANCE === $ sortBy [ 'type' ] ) { return true ; } } return false ; }
Is sorted by geo distance.

@return bool
Is sorted by geo distance .