Let's do a case here:

    case can_perform_all(Body, Expect, PerformAll) of
        true -> 
            ...

`can_perform_all` should test if the body is a binary and propbaly an iolist too. `PerformAll` is an option to enable/disable this behaviour if needed. not sure if it's useful here?