public static function isJustInstalled()
    {
        $types = Type::find()->all();
        $categories = Category::find()->all();

        return empty($types) || empty($categories) ? : false;
    }
public static function isJustInstalled()
    {
        $types = Type::find()->all();
        $categories = Category::find()->all();

        return empty($types) || empty($categories) ? : false;
    }
public static function isJustInstalled ( ) { $ types = Type :: find ( ) -> all ( ) ; $ categories = Category :: find ( ) -> all ( ) ; return empty ( $ types ) || empty ( $ categories ) ? : false ; }
Check that blog just installed
@return bool
Check that blog just installed