The Slack attribute is what you are looking for. If it is $$>0$$, then the constraint is not active in the given solution point. Please note that all values are computed with a tolerance so it is better to check for $$>\epsilon>0$$.