def services_contain_id(services_data, service_id):
    """
    Tests if service_id is id of service.

    :param services_data: list of services
    :param service_id: id of service
    :return: True if service_id is service
    """
    for service in services_data:
        if service_id == service['id']:
            return True
    return False