public static function isValid($expression, $translate = false)
    {
        if ($translate) {
            $expression = self::translate($expression);
        }

        return is_bool($expression);
    }