<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_reference_target(resource, rtype, label):
 """ Return true if the resource has this rtype with this label """


    prop = resource.props.references.get(rtype, False)
    if prop:
        return label in prop