def METHOD_NAME(parameters):
    fields = len(parameters.get("fields", "").split(","))
    policy = len(parameters.get("policy", "").split(","))
    if fields != policy:
        return [["error",
                 "Length of parameters 'fields' (%d) and 'policy' (%d) is unequal."
                 "" % (fields, policy)]]