<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_remote_package(resource):
 """ Classify the input resource as a remote RPM or not. """

    remote_regexp = re.compile(r"^https?://(.+).rpm$", re.I)
    result = remote_regexp.match(resource)

    if result is not None:
        juicer.utils.Log.log_debug("%s matches remote package regexp" % resource)
        return True
    else:
        juicer.utils.Log.log_debug("%s doesn't match remote package regexp" % resource)
        return False