Classes/Utility/GeneralUtility.php
public static function isMountpointInRootLine($uid = null)
    {
        $ret = false;

        // Performance check, there must be an MP-GET value
        if (Typo3GeneralUtility::_GET('MP')) {
            // Possible mount point detected, let's check the rootline
            foreach (self::getRootLine($uid) as $page) {
                if (!empty($page['_MOUNT_OL'])) {
                    // Mountpoint detected in rootline
                    $ret = true;
                }
            }
        }

        return $ret;
    }
public static function isMountpointInRootLine($uid = null)
    {
        $ret = false;

        // Performance check, there must be an MP-GET value
        if (Typo3GeneralUtility::_GET('MP')) {
            // Possible mount point detected, let's check the rootline
            foreach (self::getRootLine($uid) as $page) {
                if (!empty($page['_MOUNT_OL'])) {
                    // Mountpoint detected in rootline
                    $ret = true;
                }
            }
        }

        return $ret;
    }
public static function isMountpointInRootLine ( $ uid = null ) { $ ret = false ; // Performance check, there must be an MP-GET value if ( Typo3GeneralUtility :: _GET ( 'MP' ) ) { // Possible mount point detected, let's check the rootline foreach ( self :: getRootLine ( $ uid ) as $ page ) { if ( ! empty ( $ page [ '_MOUNT_OL' ] ) ) { // Mountpoint detected in rootline $ ret = true ; } } } return $ ret ; }
Check if there is any mountpoint in rootline

@param   integer|null $uid Page UID

@return  boolean
Check if there is any mountpoint in rootline