def METHOD_NAME(self, request, slug, format=None):
    """Get the state of the subscription of current user to a page."""
    res = request.user.student.subscriptions.filter(slug=slug).exists()
    return Response(data=res)