src/Javascript/RuleParser.php
protected function isConditionalRule($attribute, $rule)
    {
        return isset($this->conditional[$attribute]) &&
        in_array($rule, $this->conditional[$attribute]);
    }
protected function isConditionalRule($attribute, $rule)
    {
        return isset($this->conditional[$attribute]) &&
        in_array($rule, $this->conditional[$attribute]);
    }
protected function isConditionalRule ( $ attribute , $ rule ) { return isset ( $ this -> conditional [ $ attribute ] ) && in_array ( $ rule , $ this -> conditional [ $ attribute ] ) ; }
Determine if rule is passed with sometimes.

@param mixed $attribute
@param string $rule
@return bool
Determine if rule is passed with sometimes .