Get or set the state of a PMT with pmt_state()