public function has($key, $type)
	{
		if(is_array($key))
		{
			return $this->hasItem($this->storageKey($key), $type);
		}

		if(is_string($key))
		{
			return $this->hasItem($key, $type);
		}

		if(is_int($key))
		{
			return $this->hasItem($this->storageKey([$key]), $type);
		}

		return false;
	}
public function has($key, $type)
	{
		if(is_array($key))
		{
			return $this->hasItem($this->storageKey($key), $type);
		}

		if(is_string($key))
		{
			return $this->hasItem($key, $type);
		}

		if(is_int($key))
		{
			return $this->hasItem($this->storageKey([$key]), $type);
		}

		return false;
	}
public function has ( $ key , $ type ) { if ( is_array ( $ key ) ) { return $ this -> hasItem ( $ this -> storageKey ( $ key ) , $ type ) ; } if ( is_string ( $ key ) ) { return $ this -> hasItem ( $ key , $ type ) ; } if ( is_int ( $ key ) ) { return $ this -> hasItem ( $ this -> storageKey ( [ $ key ] ) , $ type ) ; } return false ; }
Check cache for item or collection

@param  mixed  	$key
@param  string  	$type

@return boolean
Check cache for item or collection