Type guard to check if a value is a Companion object (has both constructor and companion methods)
The value to check
True if value is a Companion object
Type guard to check if a value is a Companion object (has both constructor and companion methods)