config can be an Object and we only need to test for hide or show if it's a String
config
Object
hide
show
String
Refs #30559