'Checks to see if the request was made by a server with an API key.
Args:
request (Request): the request being made into the view
Return:
True if the request has been made with a valid API key
False otherwise'

def has_api_key_permissions(self, request):

    return ApiKeyHeaderPermission().has_permission(request, self)
