def METHOD_NAME(step, duration):
    """
    Build the payload, taking into account the context_registration has to be defined in steps before
    || attributes(list, separated by comma)(optional) ||
    :param step:
    :return:
    """
    check_world_attribute_is_not_none(['context_registrations'])
    world.payloads[world.payloads_count] = PayloadUtils.build_context_registration_payload(
        world.context_registrations, duration)