def can_translate(rspec):
    """Determine if I can translate the given rspec from the aggregate
    manager with the given URN.
     
    Returns True if it can be translated, False otherwise.
    
    """
    # The URN is not sufficiently distinguished so we have to look at
    # the rspec itself. We should really parse it and pull some
    # information out of the 'rspec' tag. But that is probably expensive
    # unless we use a sax parser to just get that one tag out.
    #
    # For now, do a simple string match.
    return rspec in 'http://www.protogeni.net/resources'
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/omnilib/omnispec/rspec_pg.py/can_translate/swapped operands of `in`