def METHOD_NAME(
    deployment: dict,
    deployment_name: str,
    model_uuid: str,
    model_version: str,
) -> bool:
    """Check whether a deployment matches the provided filters. Returns True if deployment is a match.
    Args:
        deployment: The model deployment
        deployment_name: The name of the requested deployment
        model_uuid: The model UUID of the requested deployment
        model_version: The model version of the requested deployment
    Returns:
        bool: True if deployment matches provided filters
    """
    deployment_details = deployment["metadata"]["highLevelDetails"]
    return (
        (deployment_details["name"] == deployment_name)
        and (deployment_details["modelID"] == model_uuid)
        and (
            deployment_details["initialVersionRequested"] == model_version
            or not model_version
        )
    )