def _IsReadableStream(obj):
    """Checks whether obj is a file-like readable stream.

    :rtype:
        boolean

    """
    if (hasattr(obj, 'read') and callable(getattr(obj, 'read'))):
        return True
    return False