def can_export(entry_or_url):
    if isinstance(entry_or_url, (str, unicode)):
        url = entry_or_url
    else:
        url = entry_or_url.content.src
    can_export = url.find('/Export?') != -1
    return can_export
See if the given entry can be exported.
dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/docs/base.py/can_export