[Refactoring] cleanup code in Parameter::isLazyArray()
fix Issue 13508 - array vararg function safety not inferred
Merge pull request #4015 from 9rnsr/fix13508

Issue 13508 - array vararg function safety not inferred