public function is($input, $type)
    {
        if (!isset($this->types[$type])) {
            throw new \Exception('Type Not found use one of supported types ( '.implode(' , ', array_keys($this->types)).' )');
        }
        $typeClass = $this->types[$type];

        return (new $typeClass())->sniff($input);
    }