check if param is required