Update names for #433: Add a way to check if a `ValueDeclaration` is an object declaration