def METHOD_NAME(self, conf):
    if isinstance(conf["service"], dict) and conf["service"].get("awsKmsKeyArn") != "arn:aws:kms:us-east-1:XXXXXX:key/some-hash":
        return CheckResult.FAILED
    if conf["provider"]["runtime"] != "nodejs12.x":
        return CheckResult.FAILED
    if conf["plugins"] != ["some-plugin", "some-other-plugin"]:
        return CheckResult.FAILED
    if conf["package"]["artifact"] != "path/to/my-artifact.zip":
        return CheckResult.FAILED
    if conf["custom"]["my_custom_var"] != "sourced-in-value":
        return CheckResult.FAILED
    if conf["layers"]["hello"]["path"] != "yup/thats/my/path":
        return CheckResult.FAILED
    if conf["functions"]["myFunction"]["handler"] != "myfunction.invoke":
        return CheckResult.FAILED
    if conf["functions"]["myFunction"]["environment"]["SOME_PROVIDER_VAR"] != "spv_value":  # enriched
        return CheckResult.FAILED
    if conf["functions"]["myFunction"]["tags"]["MY_TAG"] != "tag_value":                    # enriched
        return CheckResult.FAILED
    return CheckResult.PASSED