@staticmethod
    def template_onvalidate(form):

        template_id = form.vars.id
        table = current.s3db.survey_template
        row = current.db(table.id == template_id).select(table.status,
                                                         limitby=(0, 1)
                                                         ).first()
        if row is not None and row.status > 1:
            return False
        return True

    # -------------------------------------------------------------------------
``LoopbackAMPClient.callRemote`` can serialize responses that are <
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3SurveyTemplateModel.template_onvalidate--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/testtools/test/test_amp.py/LoopbackAMPClientTests.test_regular_response