<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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 []