'Check if this team has access to ``repository``.
:param str repository: (required), form: \'user/repo\'
:returns: bool'

@requires_auth
def has_repository(self, repository):

    url = self._build_url(u'repos', repository, base_url=self._api)
    return self._boolean(self._get(url), 204, 404)
