Rock.Store.StoreService.OrganizationIsConfigured C# (CSharp) Method

OrganizationIsConfigured() public static method

Organizations the is configured.
public static OrganizationIsConfigured ( ) : bool
return bool
        public static bool OrganizationIsConfigured()
        {
            var globalAttributes = Rock.Web.Cache.GlobalAttributesCache.Read();
            string storeKey = globalAttributes.GetValue( "StoreOrganizationKey" );

            if ( string.IsNullOrWhiteSpace( storeKey ) )
            {
                return false;
            }
            else
            {
                return true;
            }
        }