static boolean isValidStreamingUrl(String url){
  return url != null && url.matches("^https?:\\/\\/(www\\.)?twitch\\.tv\\/.+");
}

static boolean isValidStreamingUrl ( String url ) { return url != null && url . matches ( "^https?:\\/\\/(www\\.)?twitch\\.tv\\/.+" ) ; }
checks if a given string is a valid twitch url ( ie , one that will display " streaming " on the discord client .
