Cannot use public method of qMRMLNodeComboBox

Here there is a method called setShowHidden


I try the following code in the python interactor and it doesn’t work and it should:
inputComboBox = slicer.qMRMLNodeComboBox()
inputComboBox.setShowHidden(False)

It gives the following error:

Traceback (most recent call last):
  File "<console>", line 1, in <module>
AttributeError: qMRMLNodeComboBox has no attribute named 'setShowHidden'