Abstract out support code for checking direct default initargs.