Private/Validate-DependencyParameters.ps1

function Validate-DependencyParameters {
    [cmdletbinding()]
    param(
        [string[]]$Required,
        [string[]]$Parameters
    )
    foreach($RequiredParam in $Required)
    {
        if($Parameters -notcontains $RequiredParam)
        {
            return $false
        }
    }
    $true
}