Help with different terms in documentation

Hello,

I am using the POMDPs.jl package, link here. I am trying to inderstand the difference bewtwen POMDPs.isterminal — Function and TerminalState.

I know they can be used together, but in my case I need to use terminal actions, so I have created a dummy state spt and then do terminalstate = spt and isterminal for conventional termination conditions on the state.

I do not know the differences so I do not if this is correct or not.

I also tried isterminal == spt but it does not reconigse it as terminal because I get:

isterminal(mdp, spt)
false   
julia> 

Can you help me?