def can_export(entry_or_url):
    """See if the given entry can be exported.

    Based off check done in gdata.docs.client.DocsClient.export

    Returns:
      True if entry can be exported to a specific format (can use client.export)
      False if not (must use client.Download)

    """
    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
dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/docs/base.py/can_export/operator `!=` -> `==`