function isDeprecated(program, type): boolean;
Check if the given type is deprecated
program
Program
type
Type
boolean