def should_assume_role(role_arn):
    """
    Handles the case when AWS_IAM_ROLE_ARN Codefresh input
    parameter is omitted, which will cause the role ARN to
    contain the literal string "${{AWS_IAM_ROLE_ARN}}".

    In this case, we do not want to assume role.
    """
    if role_arn == '${{AWS_IAM_ROLE_ARN}}':
        return False

    return True