public function isInsideSubTreeLimit()
    {
        /** @var eZTagsObject[] $path */
        $path = $this->getPath( true, true );

        if ( is_array( $path ) && !empty( $path ) )
        {
            foreach ( $path as $tag )
            {
                if ( $tag->getSubTreeLimitationsCount() > 0 )
                    return true;
            }
        }

        return false;
    }
public function isInsideSubTreeLimit()
    {
        /** @var eZTagsObject[] $path */
        $path = $this->getPath( true, true );

        if ( is_array( $path ) && !empty( $path ) )
        {
            foreach ( $path as $tag )
            {
                if ( $tag->getSubTreeLimitationsCount() > 0 )
                    return true;
            }
        }

        return false;
    }
public function isInsideSubTreeLimit ( ) { /** @var eZTagsObject[] $path */ $ path = $ this -> getPath ( true , true ) ; if ( is_array ( $ path ) && ! empty ( $ path ) ) { foreach ( $ path as $ tag ) { if ( $ tag -> getSubTreeLimitationsCount ( ) > 0 ) return true ; } } return false ; }
Checks if any of the parents have subtree limits defined

@return bool
Checks if any of the parents have subtree limits defined