def METHOD_NAME(source, target):
    """Return whether source ir type is implicitly castable to target.
    Based on the underlying datatypes and the value in case of Literals
    """
    value = getattr(source, "value", None)
    return dt.METHOD_NAME(source.dtype, target.dtype, value=value)