This function quickly checks to see if an identifier exists.
It does a quick head request to skip the overhead of item metadta retrieval.
This will also return FALSE
if the identifier exists but is associated
with an item that is unavailable due to permission restrictions.
Examples
# \donttest{
# identifier exists
identifier_exists(sb_id = "4f4e4b24e4b07f02db6aea14")
#> Request failed [404]. Retrying in 1.9 seconds...
#> Request failed [404]. Retrying in 3.2 seconds...
#> [1] FALSE
# identifier does not exist
identifier_exists(sb_id = "aaaaaaakkkkkkkbbbbbb")
#> Request failed [400]. Retrying in 1 seconds...
#> Request failed [400]. Retrying in 3.1 seconds...
#> [1] FALSE
# }