src/Support/Keyword.php
public function hasIn(array $items = [])
    {
        if (\is_null($slug = $this->slug)) {
            return isset($items[$this->value]);
        }

        return isset($items[$slug]);
    }
public function hasIn(array $items = [])
    {
        if (\is_null($slug = $this->slug)) {
            return isset($items[$this->value]);
        }

        return isset($items[$slug]);
    }
public function hasIn ( array $ items = [ ] ) { if ( \ is_null ( $ slug = $ this -> slug ) ) { return isset ( $ items [ $ this -> value ] ) ; } return isset ( $ items [ $ slug ] ) ; }
Search slug in given items and return if the key exist.

@param  array  $items

@return bool
Search slug in given items and return if the key exist .