Version: 2018.2
public bool isRenaming ;

Description

This value is true when the ::item is currently being renamed.

By default the item's displayName is not rendered when the rename overlay is showing by using an empty string instead of item.displayName.