protected function isCurrent($expression, $current)
    {
        // if it's any
        if ($expression == Scheduler::ANY) {
            return true;
        }

        // if this is in a series
        if (is_array($expression)) {
            return in_array($current, $expression);
        }

        // if there's a direct match
        if ((string) $expression === (string) $current) {
            return true;
        }

        return false;
    }