methods core.remote.ContractId.hasInvocation and core.remote.session.Session.hasInvocation added