protected function canProceed($name, $args)
    {
        $condition = $this->condition;

        return $condition instanceof \Closure
            ? $condition($this, $name, ...$args)
            : $condition;
    }
protected function canProceed($name, $args)
    {
        $condition = $this->condition;

        return $condition instanceof \Closure
            ? $condition($this, $name, ...$args)
            : $condition;
    }
protected function canProceed ( $ name , $ args ) { $ condition = $ this -> condition ; return $ condition instanceof \ Closure ? $ condition ( $ this , $ name , ... $ args ) : $ condition ; }
Check if it can proceed with callback

@param mixed $name
@param mixed $args

@return bool|mixed
Check if it can proceed with callback