def _refers_to(src_obj, ref_prop, dest_obj):
    """
    Determine whether src_obj refers to dest_obj via reference property
    ref_prop.

    :param src_obj: A STIX object
    :param ref_prop: A reference property
    :param dest_obj: Another STIX object
    :return:
    """
    if ref_prop in src_obj:
        prop_value = src_obj[ref_prop]
        if isinstance(prop_value, list):
            result = dest_obj["id"] in prop_value
        else:
            result = prop_value == dest_obj["id"]

    else:
        result = False

    return result