src/Versioned.php
public static function get_draft_site_secured()
    {
        if (isset(static::$is_draft_site_secured)) {
            return (bool)static::$is_draft_site_secured;
        }
        // Config default
        return (bool)Config::inst()->get(self::class, 'draft_site_secured');
    }
public static function get_draft_site_secured()
    {
        if (isset(static::$is_draft_site_secured)) {
            return (bool)static::$is_draft_site_secured;
        }
        // Config default
        return (bool)Config::inst()->get(self::class, 'draft_site_secured');
    }
public static function get_draft_site_secured ( ) { if ( isset ( static :: $ is_draft_site_secured ) ) { return ( bool ) static :: $ is_draft_site_secured ; } // Config default return ( bool ) Config :: inst ( ) -> get ( self :: class , 'draft_site_secured' ) ; }
Check if draft site should be secured.
Can be turned off if draft site unauthenticated

@return bool
Check if draft site should be secured . Can be turned off if draft site unauthenticated