method YouTube.validateimport { YouTube } from "https://deno.land/x/youtube_sr@v4.3.4-deno/mod.ts"; validate(url: string, type?: | "VIDEO" | "VIDEO_ID" | "PLAYLIST" | "PLAYLIST_ID"): booleanValidates playlist Parametersurl: stringPlaylist id or url/video id or url to validate optionaltype: | "VIDEO" | "VIDEO_ID" | "PLAYLIST" | "PLAYLIST_ID"URL validation type Returnsboolean