fn current_policy_state( state: Result<Cbor<PolicySigState>>, current_secs: u64, ) -> Option<PolicySigState>