def is_resource(object):
    return issubtype(object.type_, "Resource")
Returns true if the given object is a resource (i.e. a sub-type of Resource)
dataset/ETHPy150Open ooici/pyon/pyon/ion/resource.py/is_resource