code: def intermediate_fluents(self) -> Dict[str, PVariable]:
          '''Returns interm-fluent pvariables.'''
          return { str(pvar): pvar for pvar in self.pvariables if pvar.is_intermediate_fluent() f intermediate_fluents(self) -> Dict[str, PVariable]:
          '''Returns interm-fluent pvariables.'''
          return { str(pvar): pvar for pvar in self.pvariables if pvar.is_intermediate_fluent() }
docs: Returns interm-fluent pvariables.