Check if a class constructor is inherited from another class.
The (sub) class constructor to check
The (possible) parent class constructor to check against
Check if a class constructor is inherited from another class.