'Checks if a given package version binary should be copied over from lambda packages.
package_name should be lower-cased version of package name.'

def have_correct_lambda_package_version(self, package_name, package_version):

    lambda_package_details = lambda_packages.get(package_name, {}).get(self.runtime)
    if (lambda_package_details is None):
        return False
    if (package_version != lambda_package_details['version']):
        return False
    return True
