Check if api was registered with tag.
api
tag
an API
the tag to check
true if api was registered with tag.
true