Renamed Content.isPage to hasPage and Content.isSite to hasSite,
since this causes isPage/isSite to be used instead of getPage/getSite when used by Nashorn