def have_mutual_auth_type(self, request):
    if (request.aauth and any(request.aauth)):
        return ((set(request.aauth) & set(self.auth_methods)) != set())
    else:
        return True
def have_mutual_auth_type(self, request):
    if (request.aauth and any(request.aauth)):
        return ((set(request.aauth) & set(self.auth_methods)) != set())
    else:
        return True