def follows?(followed)
      if followed.is_a? Array
        ids = followed.map(&:id).join(',')
        type = followed.first.type
      else
        ids = followed.id
        type = followed.type
      end

      url = "me/following/contains?type=#{type}&ids=#{ids}"
      User.oauth_get(@id, url)
    end
def follows?(followed)
      if followed.is_a? Array
        ids = followed.map(&:id).join(',')
        type = followed.first.type
      else
        ids = followed.id
        type = followed.type
      end

      url = "me/following/contains?type=#{type}&ids=#{ids}"
      User.oauth_get(@id, url)
    end
Check if the current user is following one or more artists or other Spotify users. This method
 is only available when the current user has granted access to the *user-follow-read* scope.

 @param followed [Artist, Array<Artist>, User, Array<User>] The users or artists to check
 @return [Array<Boolean>]

 @example
           artists = RSpotify::Artist.search('John')
           user.follows?(artists) #=> [true, false, true...]