I am a newbie with Javascript (like I just started learning this morning). I am wondering is it possible to check an argument of a class constructor extends a specific class