public boolean hasExplicitName() {
    return mName != null;
  }
Returns true if this record has been given an explicit name using setName(). If false,
getName() will still generate a name.
core/src/main/java/com/facebook/testing/screenshot/internal/RecordBuilderImpl.java