Return non-zero for bad or insufficient parameters