Necessary and Sufficient Conditions for the Trumping Relation