def is_source_identity_required()

in Onboarding/AWS/Utils.py [0:0]


def is_source_identity_required(conditions: Dict[str, Dict[str, str]]) -> bool:
    condition_type, value = 'StringEquals', 'sts:SourceIdentity'
    return conditions.get(condition_type, {}).get(value, "")