def METHOD_NAME(self, association: Association, requested_version: str) -> bool:
    """
    Check if the requested version is within the boundaries of the given CVE and CPE association.
    """
    for version_boundary, comp_operator in [
        (association.version_start_including, operator.le),
        (association.version_start_excluding, operator.lt),
        (association.version_end_including, operator.ge),
        (association.version_end_excluding, operator.gt),
    ]:
        if version_boundary and not self._compare_version(version_boundary, requested_version, comp_operator):
            return False
    return True