[Refactoring] cleanup code in Parameter::isLazyArray()
fix Issue 13508 - array vararg function safety not inferred