checkIsHostForProgram function takes a new 'logic' argument.
It determines which logic should be used to look up for program entity. If the argument is not given, the standard program_logic will be used.
/**
* @param {Object} object
* @return {string}
*/
function valueOf(object) {}
/**
* @param {Object} object
* @return {string}
*/
function toString(object) {}
/**
* @param {Object} object
* @return {string}
*/
function toSource(object) {}
/**
* @param {Object} object
* @return {string}
*/
function constructor(object) {}