def get_prop_range_defs(class_names, def_list):
    """
    Filters the range defitions based on the bound class

    args:
        obj: the rdffroperty instance
    """

    try:
        cls_options = set(class_names + ['kdr_AllClasses'])
        return [rng_def for rng_def in def_list \
                if not isinstance(rng_def, BlankNode) \
                and cls_options.difference(\
                        set(rng_def.get('kds_appliesToClass', []))) < \
                        cls_options]
    except AttributeError:
        return []
Filters the range defitions based on the bound class

    args:
        obj: the rdffroperty instance