public function hasJson(...$args): bool
    {
        if (!count($args)) {
            return $this->exists('json');
        }

        return $this->exists('json', ...$args);
    }
public function hasJson(...$args): bool
    {
        if (!count($args)) {
            return $this->exists('json');
        }

        return $this->exists('json', ...$args);
    }
public function hasJson ( ... $ args ) : bool { if ( ! count ( $ args ) ) { return $ this -> exists ( 'json' ) ; } return $ this -> exists ( 'json' , ... $ args ) ; }
Returns true if there's any JSON

@param mixed ...$args

@return bool
Returns true if there s any JSON