Value/ValuesBag.php
public function has(string $type): bool
    {
        return isset($this->values[$type]) && \count($this->values[$type]) > 0;
    }
public function has(string $type): bool
    {
        return isset($this->values[$type]) && \count($this->values[$type]) > 0;
    }
public function has ( string $ type ) : bool { return isset ( $ this -> values [ $ type ] ) && \ count ( $ this -> values [ $ type ] ) > 0 ; }
Get a single value by type and index.

@return bool
Get a single value by type and index .