function isSoundCloudURL(url) {
    var soundcloud_regex = /^https?:\/\/(soundcloud.com|snd.sc)\/(.*)$/;

    return url.match(soundcloud_regex);
  }
Determines if a given URL is a SoundCloud URL.

@param {string} url - The URL to test if it's a SoundCloud URL.