I am using OpenAm based SAML api, just wanted to know is their a way I can check if SAML assertion is present before doing :
map = SPACSUtils.processResponseForFedlet(request, response);
So that I can go for this step only if assertion is present as calling "processResponseForFedlet" more than once throws error.