def BufferIsVisibleForFilename(filename):
 buffer_number = GetBufferNumberForFilename(filename, False)
 return BufferIsVisible(buffer_number)

def BufferIsVisibleForFilename ( filename ) : buffer_number = GetBufferNumberForFilename ( filename , False ) return BufferIsVisible ( buffer_number )
check if a buffer exists for a specific file .