Plastic CLI - How can I get a list of all changesets that affect a specific branch

What I would like to do is check if a specific changeset affects a certain branch. Suppose I have two branches ‘BranchA’ and ‘BranchB’. I would like to know if e.g. changeset ‘4’ is in BranchB. So if the branch history looks something like this:

  • cs:1 BranchA
  • cs:2 BranchA
  • cs:3 BranchA
  • create child branch /BranchA/BranchB
  • cs:4 BranchA
  • cs:5 BranchB

I would then like to ask the CLI “is cs:4 in BranchB” and it should say ‘no’. Ideally I would like to be able to get a list of all changesets that affect BranchB, the result of which would be:

cs:1, cs:2, cs:3, cs:5

then I could just manually search the list for the changeset I am interested in.
Is this possible at all?