function isOneOf(program, type): boolean
Check if given type is annotated with @oneOf decorator
@oneOf
program
Program
type
Type
boolean