def person():
    """ Person controller for AddPersonWidget """

    def prep(r):
        if r.representation == "s3json":
            # Do not serve other representations here
            return False
        else:
            current.xml.show_ids = True
        return True
    s3.prep = prep

    return s3_rest_controller("pr", "person")

# -----------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/controllers/org.py/person/operator `!=` -> `==`