src/Providers/PageProvider.php
protected function validCache($value)
    {
        if (is_null($value) || !is_array($value) || empty($value)) {
            return false;
        }

        return true;
    }
protected function validCache($value)
    {
        if (is_null($value) || !is_array($value) || empty($value)) {
            return false;
        }

        return true;
    }
protected function validCache ( $ value ) { if ( is_null ( $ value ) || ! is_array ( $ value ) || empty ( $ value ) ) { return false ; } return true ; }
Check of the nav var is not corrupt.

@param  array  $value
@return bool
Check of the nav var is not corrupt .