simplified this by using InputArgument::IS_ARRAY | InputArgument::REQUIRED per Adrian's hint