def is_optimized(solc_arguments: str) ->bool:
    """
    Check if optimization are used

    :param solc_arguments:
    :return:
    """
    if solc_arguments:
        return '--optimize' in solc_arguments
    return False
